# Retrieve User Account Group Permissions

Returns all account group permission assignments for a user.

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

Base URL: `https://api-sandbox.whitelabel.com/v1`

Returns all account group permission assignments for a user.

## Authorization

- PUBLIC-API-KEY (apiKey in header)
- PRIVATE-SECRET-KEY (apiKey in header)

## Path parameters

- `user_id` (string, required)
  User UUID.

## Responses

### 200

OK

- `permissions` (object[])
  - `account_group_id` (string<uuid>)
  - `account_group_name` (string)
  - `role_id` (string)
  - `role_name` (string)
  - `accounts_count` (integer)

Example:

```json
{
  "permissions": [
    {
      "account_group_id": "00000000-0000-0000-0000-000000000000",
      "account_group_name": "string",
      "role_id": "string",
      "role_name": "string",
      "accounts_count": 0
    }
  ]
}
```