Skip to content

Get RBAC info for a user

Request

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

Security
Bearer
Path
userIdstring, (uuid)required

Identifier of the user.

Example:1234a66b-7493-4f41-908c-58ba81093947
curl -i -X GET \
  https://api-ext-sboxmeta.partners.spotnana.com/v3/users/1234a66b-7493-4f41-908c-58ba81093947/rbac-info \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

RBAC info for the user.

Bodyapplication/json
hasOthersTripAccessbooleanrequired

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

Example:true
permissionsArray of objects(PermissionWithActions)required

List of permissions with their associated actions for the user.

Response
{ "hasOthersTripAccess": true, "permissions": [ { … } ] }