cURL
curl --request POST \ --url http://localhost:8091/api/servers/{serverID}/channels/{channelID}/leave \ --header 'Authorization: Bearer <token>'
Removes the authenticated user from the channel.
Session token obtained from /api/auth/login or /api/auth/register. Pass as: Authorization: Bearer
Server ID
Channel ID
Left the channel