# Rename or recolour an inbox label

Changes an inbox label's name or tone. A field the body omits is left as it was; a name the workspace already has is a 409.

Access class: `workspace`.

## Endpoint

`PATCH /v1/comms/labels/{labelId}`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| labelId | path | string | Yes |

## Request body

Content type: `application/json`.

```json
{
  "name": "string",
  "tone": "string"
}
```

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "createdAt": "2026-01-01T00:00:00Z",
    "createdBy": "string",
    "id": "",
    "name": "string",
    "tone": "string"
  }
}
```

### 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"
}
```
