POST /v2/apps/{app_id}/alerts/{alert_id}/destinations
Updates the emails and slack webhook destinations for app alerts. Emails must be associated to a user with access to the app.
Servers
- https://api.digitalocean.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
app_id |
String | Yes |
The app ID |
alert_id |
String | Yes |
The alert ID |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
slack_webhooks[] |
Array | No | |
slack_webhooks[].channel |
String | No | |
slack_webhooks[].url |
String | No | |
emails[] |
Array | No |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.