Retrieve User Account Group Permissions

Returns all account group permission assignments for a user.

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

Returns all account group permission assignments for a user.

Path Parameters

user_idstringrequired

User UUID.

Response

OK

permissionsobject[]
Show permissions properties
account_group_idstring<uuid>
account_group_namestring
role_idstring
role_namestring
accounts_countinteger
Request
curl -X GET "https://api-sandbox.whitelabel.com/v1/organizations/users/<user_id>/account-group-permissions" \
  -H "PUBLIC-API-KEY: <PUBLIC-API-KEY>" \
  -H "PRIVATE-SECRET-KEY: <PRIVATE-SECRET-KEY>"
Response
{
  "permissions": [
    {
      "account_group_id": "00000000-0000-0000-0000-000000000000",
      "account_group_name": "string",
      "role_id": "string",
      "role_name": "string",
      "accounts_count": 0
    }
  ]
}