APINotification delivery rules
Update a delivery rule
Replace a positive delivery rule atomically.
Path Parameters
ruleId*string
Logical notification delivery rule ID.
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/notification-delivery-rules/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "destinations": [ { "channel": "slack_channel", "destinationKey": "string" } ], "notificationTypes": [ "issue_triggered" ], "condition": {} }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8", "notificationTypes": [ "issue_triggered" ], "destinations": [ { "id": "string", "channel": "slack_channel", "destinationKey": "string", "displayName": "string" } ], "condition": { "severities": [ "low" ] }, "component": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "label": "string", "lifecycle": "active" }, "componentId": "616ccd92-d666-4180-8349-8d125b269fac", "includeDescendants": true, "suspendedAt": "2019-08-24T14:15:22Z", "suspensionReason": "string", "components": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "label": "string", "lifecycle": "active" } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}