Remove websites from a notification configuration
Removes the websites you list in sites from a notification configuration. It is the counterpart of “Add websites to a notification configuration” and answers the same way.
meta.status is applied when at least one website was removed and skipped when none was. Websites that cannot be processed are reported in meta.skipped, each with a reason_code and a message, and do not fail the call. A website is skipped as ALREADY_APPLIED when it is not in the configuration, and as PERMISSION_DENIED (with a null site_name) when your token cannot reach it; a member who reaches only some websites leaves the others in place.
Body
sites(array of integers, required): ids of the websites to remove, 1 to 50. Each must be an existing website.
Errors
- 422:
sitesis missing, empty, has more than 50 ids or contains an id that is not a website. The body is checked before the configuration, so a configuration of another organization answers 404 only when the body is valid.
Authentication
AuthorizationBearer
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
Path parameters
alert_id
Request
This endpoint expects an object.
sites
Response
200 - Website removed
jsonapi
meta
Errors
404
Not Found Error
