Skip to main content

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 members
  • reset — 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

OK

Response Headers
    Content-Type