Delete Channel: /channel/ (DELETE)

Purpose:

This endpoint allows a user with the appropriate permissions to delete a channel.

Input:

  • Headers:
    • Authorization: The JWT token of the user.
  • JSON Body:
    • id: (Uuid) The id of the channel.

Output (200):

{
  "id": "c8132499-8e78-47fd-ada4-c4e259d5fc01",
  "name": "General",
  "description": "General discussion",
  "deleted": true
}