Get User Role Accesses: /user-role-access/ (GET)

Purpose:

Get all user role accesses, optionally those of a particular user id.

Input:

  • Headers:
    • Client-Secret: (Optional) A header to authenticate the request.
    • Authorization: The JWT token of the user.
  • Query Parameters:
    • user_id: (Optional, Uuid) The id of the user.

Output (200):

[
  {
    "id": "2aff4700-a915-4cde-886d-26b7d93e13f7",
    "user_id": "d6796772-b530-4e66-935d-7c462310548b",
    "role_id": "f2a65c02-5cce-40f7-a05f-33fc72ea72e3",
    "deleted": false
  },
  {
    "id": "78b258cb-2b38-4600-82ab-1cfb6a9cbb5d",
    "user_id": "10cd2b89-370d-460f-8ac0-0b890a1456ef",
    "role_id": "164f6e78-433a-484f-944d-51f5e08ff75d",
    "deleted": false
  }
]