Retrieve User Account Permissions

Returns all account permission assignments for a user, including the account name and role details.

GET/organizations/users/{user_id}/account-permissions

Returns all account permission assignments for a user.

Path Parameters

user_idstringrequired

User UUID.

Response

OK

permissionsobject[]
Show permissions properties
account_idstring<uuid>
account_namestring
role_idstring
role_namestring
Request
curl -X GET "https://api-sandbox.whitelabel.com/v1/organizations/users/<user_id>/account-permissions" \
  -H "PUBLIC-API-KEY: <PUBLIC-API-KEY>" \
  -H "PRIVATE-SECRET-KEY: <PRIVATE-SECRET-KEY>"
Response
{
  "permissions": [
    {
      "account_id": "00000000-0000-0000-0000-000000000000",
      "account_name": "string",
      "role_id": "string",
      "role_name": "string"
    }
  ]
}