v1

latestOpenAPI 3.1.02026-08-062713899.5 KB
Roles

Get RBAC info for a user

Returns RBAC information for a user indicating what permissions the user has.

get/v3/users/{userId}/rbac-info

Response

RBAC info for the user.

hasOthersTripAccessboolean required

Flag indicating whether user has access to trips of other travelers.

Example response

{
  "hasOthersTripAccess": true,
  "permissions": [
    {
      "permission": "COMPANY_MANAGEMENT",
      "actions": [
        "READ",
        "WRITE"
      ]
    }
  ]
}