---
api: 'Business API'
---

# Assign a manager to a team member

Assign a manager to a specific team member.

For more information, see the guides: [Manage team members](https://developer.revolut.com/docs/guides/manage-accounts/teams/manage-team-members).

## Endpoint

PUT `/team-members/{team_member_id}/manager`

## Parameters

### path parameters

- `team_member_id` (string, required)
  The ID of the team member to assign the manager to.

## Request body

### Attributes

- `manager_id` (string)
    The ID of the manager to assign to the team member.

## Returns

### 204

Manager was assigned to the team member.

## Error responses

| HTTP status code | Description |
| --- | --- |
| 400 | Bad request  Returned when the specified manager does not exist. |
| 401 | Unauthorized – authentication credentials are missing or invalid  Returned when the request was not fulfilled because authentication has failed or has not been provided. |
| 403 | Action forbidden - insufficient permissions to perform this action  Returned, for example, when you don't have permissions necessary to perform this action. |
| 404 | Not found  Returned when the team member that you're trying to update doesn't exist. |
