{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates the emails and slack webhook destinations for app alerts. Emails must be associated to a user with access to the app.","properties":{"path":{"type":"object","properties":{"app_id":{"type":"string","examples":["4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf"],"description":"The app ID"},"alert_id":{"type":"string","examples":["5a624ab5-dd58-4b39-b7dd-8b7c36e8a91d"],"description":"The alert ID"}},"required":["app_id","alert_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/apps_assign_app_alert_destinations_request"}},"required":["path","body"],"additionalProperties":false,"definitions":{"apps_assign_app_alert_destinations_request":{"properties":{"emails":{"type":"array","items":{"$ref":"#/definitions/app_alert_email"},"examples":[["sammy@digitalocean.com"]]},"slack_webhooks":{"type":"array","items":{"$ref":"#/definitions/app_alert_slack_webhook"}}},"type":"object"},"app_alert_email":{"default":"","type":"string","examples":["sammy@digitalocean.com"]},"app_alert_slack_webhook":{"properties":{"url":{"title":"URL of the Slack webhook","type":"string","examples":["https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX"]},"channel":{"title":"Name of the Slack Webhook Channel","type":"string","examples":["Channel Name"]}},"type":"object"}}},"name":"Update destinations for alerts","id":"digitalocean.apps_assign_alertdestinations","example":{"path":{"app_id":"4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf","alert_id":"5a624ab5-dd58-4b39-b7dd-8b7c36e8a91d"},"body":{}},"maxRequests":1,"summary":false}}