Delete User Role Access: /user-role-access/ (DELETE)

Purpose:

Delete a user role access. Removing a user from a role. The manage_role permission is required.

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 user role access.

Output (200):

{
  "id": "c8132499-8e78-47fd-ada4-c4e259d5fc01",
  "user_id": "19b345d3-ac26-4667-b8f8-5aa85be0d424",
  "role_id": "ad184b8a-5608-427d-a016-50022153c136",
  "deleted": true
}