# Update a label

`POST https://testing-backend.estactics.com/api/labels/update`

Changes a label. Send only the fields you want to change.

Authentication: `Authorization: Bearer YOUR_API_KEY`. Required permission: `labels.MANAGE`.

## Body parameters

- `id` (integer, required): ID of the label.
- `name` (string): Label name.
- `nameTranslations` (object): Label name per language code, for example `{ "el": "Ετικέτα" }`.
- `color` (string): Color, for example #0c68e9.

## Example request body

```json
{
  "id": 12,
  "color": "#17803d"
}
```

## Example response

```json
{
  "success": true,
  "data": [
    {
      "id": 12
    }
  ]
}
```
