Update Channel: /channel/ (PATCH)
Purpose:
This endpoint alows a user with the appropriate permissions to update a channel.
Input:
- Headers:
- Content-Type: application/json
- Authorization: The JWT token of the user.
- JSON Body:
- id: (Uuid) The id of the channel.
- name: (String) The name of the channel.
- description: (String) The description of the channel.
Output (200):
{
"id": "972447a8-4ebc-4c10-8c0e-52cf0663c01c",
"name": "General",
"description": "General discussion"
}