Update Alert Audience
PUT/api/alert-subscriptions
Applies audience changes for one alert type.
Actions per change:
subscribe— add the user to the audience (beyond the default audience)unsubscribe— remove the user, including default-audience membersreset— remove any explicit change so the user reverts to plain default-audience membership
Returns the refreshed audience. Returns 422 when a change would leave a critical alert type with an empty audience, or when a user does not belong to this account.
Requires a token with permission to update alert preferences.
Request
Responses
- 200
- 401
- 403
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.