> ## Documentation index
> Fetch the complete documentation index at: https://workover.io/docs/llms.txt

# Rename, recolor or archive a label

PATCH`/messenger/{messengerId}/labels/{labelId}`

Changes a Support label: `name` (reaches every conversation carrying it and its children), `color`, or `archived` (out of the picker and the filter, still on conversations; its children go with it). Owners and admins. Answers the label as it now is, so the same call again changes nothing.

## Path Parameters

`messengerId`

numberrequired

`labelId`

numberrequired

## Response

200

**cURL**

```bash
curl --request PATCH \
  --url 'https://api.workover.io/messenger/{messengerId}/labels/{labelId}'
```

**JavaScript**

```javascript
const options = {
  method: 'PATCH'
};

fetch('https://api.workover.io/messenger/{messengerId}/labels/{labelId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/messenger/{messengerId}/labels/{labelId}"

response = requests.patch(url)

print(response.text)
```
