Delete Channel Role Access: /channel-role-access/ (DELETE)

Purpose:

This endpoint allows the deletion of a channel-role access entry. This entry links a role to a channel, specifying access permissions.

Input:

  • Headers:
    • Content-Type: application/json
    • Client-Secret: (Optional) A header to authenticate the request.
    • Authorization: The JWT token of the user.
  • JSON Body:
    • id: (Uuid) The id of the channel-role access entry.

Output (200):

{
  "id": "d8d56833-2288-4b8d-8751-3a9564dfba4d",
  "channel_id": "1bcf511d-556f-49ab-9c83-9c1e3d6b4e49",
  "role_id": "78e2c4b1-2973-4723-81da-f21062c80601",
  "deleted": true
}