cURL
curl --request DELETE \ --url http://localhost:8091/api/servers/{serverID}/channels/{channelID} \ --header 'Authorization: Bearer <token>'
{ "error": "<string>" }
Permanently deletes the channel and all its messages. Requires owner or admin role. DM channels cannot be deleted.
Session token obtained from /api/auth/login or /api/auth/register. Pass as: Authorization: Bearer
Server ID
Channel ID
Channel deleted