`DELETE /api/v1/channels/{id}` — delete a notification channel (Admin only).
DELETE
/api/v1/channels/{id}
const url = 'https://example.com/api/v1/channels/example';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/api/v1/channels/exampleParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Channel ID
Responses
Section titled “ Responses ”Channel deleted
Admin role required
Channel not found