# Take a member off a team

Take one member off one team. Their seat, their access and their work are untouched; this only changes whose work the team's lead is answerable for. Admin only.

Access class: `workspace:admin`.

## Endpoint

`DELETE /v1/workspace/teams/{teamId}/members/{accountId}`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| teamId | path | string | Yes |
| accountId | path | string | Yes |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "createdAt": "string",
    "id": "",
    "leadAccountId": "",
    "memberIds": [
      "string"
    ],
    "name": "string",
    "parentTeamId": ""
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
