Roles

Get RBAC info for a user

Changed on

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

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

Request

  • Base URL
    https://api-ext-sboxmeta.partners.spotnana.com
  • Auth
    HTTP bearer

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"
      ]
    }
  ]
}

Changes

    • warning

      added the new UNMASK enum value to the /// response property for the response status