Deployments.ai Docs
Alerts

Turn your alert emails on or off, or mute monitors

PUT /v1/alert-notification-preferences · SDK putAlertNotificationPreferences · CLI deployments monitor set-notification-settings

PUT
/v1/alert-notification-preferences

Requires monitors:read; admits human callers. A suspended organization can still call it.

Authorization

platformBearer
headerAuthorizationBearer <token>

Platform bearer credential accepted as an opaque API key or JWT.

Header Parameters

x-deployments-organization*string
Match^[0-7][0-9A-HJKMNP-TV-Z]{25}$

Request Body

application/json
  1. body
email*string
Value in"all""none"
mutedMonitorIds*array<>
Itemsitems <= 200

Response Body

AlertNotificationPreferencesResponse

application/json
  1. response
email*string
Value in"all""none"
mutedMonitorIds*array<>
curl -X PUT "https://example.com/v1/alert-notification-preferences" \  -H "x-deployments-organization: string" \  -H "Content-Type: application/json" \  -d '{    "email": "all",    "mutedMonitorIds": [      "string"    ]  }'
{  "email": "all",  "mutedMonitorIds": [    "string"  ]}