CentralCSP
APIAlerts

Delete an alert channel

Removes the channel and detaches it from every rule that used it. A rule left with no channels stops notifying anyone.

Requires the manager role on the website and the alerting plan feature.

DELETE
/v1/workspaces/{workspaceId}/websites/{websiteId}/alerts/channels/{channelId}

Authorization

headerAuthorizationBearer <JWT>

An OpenID Connect access token from signing in to CentralCSP, acting as the signed-in user.

Path Parameters

workspaceId*string

The workspace's id.

websiteId*string

The website's id.

channelId*string

The alert channel's id.

Response Body

The alert channel is deleted.

Example Request
curl -X DELETE 'https://api.centralcsp.com/v1/workspaces/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/websites/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/alerts/channels/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90'
Example Response
Empty