# Move a client to a brand or team

`POST https://backend.estactics.com/api/clients/modifyClientCategorization`

Changes the brand and team a client belongs to, and optionally the agent who owns them.

Authentication: `Authorization: Bearer YOUR_API_KEY`. Required permission: `clients.MANAGE_CATEGORIZATION`.

## Body parameters

- `id` (integer, required): ID of the client.
- `brandId` (integer): ID of the brand the client belongs to.
- `assignedToHierarchyId` (integer): ID of the team that owns the client.
- `assignedToUserId` (integer): ID of the agent who owns the client.

## Example request body

```json
{
  "id": 1042,
  "brandId": 3,
  "assignedToHierarchyId": 7
}
```

## Example response

```json
{
  "success": true,
  "data": {
    "id": 1042,
    "brandId": 3,
    "assignedToHierarchyId": 7
  }
}
```
