API reference

Download spec
delete

Delete notification channel

Permanently deletes a channel and removes it from any rules that reference it.

Required API key scope
notifications:delete
/api/v1/team/notifications/channels/{channelId}

Code samples

curl --request DELETE \
  --url https://api.emailguard.co/api/v1/team/notifications/channels/YOUR_ID \
  --header 'Authorization: Bearer YOUR_API_KEY'

Parameters

Path parameters

NameTypeDescription
channelIdrequiredstring

UUID of the notification channel to delete

Responses

200
OK
OK
codestringrequired

Machine-readable status code (for example OK or INVALID_BODY).

messagestring

Human-readable detail when the code is not OK.

401
Unauthorized
Unauthorized
codestringrequired

Machine-readable status code (for example OK or INVALID_BODY).

messagestring

Human-readable detail when the code is not OK.

403
Forbidden
Forbidden
codestringrequired

Machine-readable status code (for example OK or INVALID_BODY).

messagestring

Human-readable detail when the code is not OK.