Update a label

POSThttp://localhost:4000/api/labels/update

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

Your API key needs the labels.MANAGE permission.

Body Params

idintegerrequired

ID of the label.

namestring

Label name.

nameTranslationsobject

Label name per language code, for example { "el": "Ετικέτα" }.

colorstring

Color, for example #0c68e9.

Responses

200Successful response.
400The request is not valid.
401The API key is missing, invalid, expired or disabled.
403The API key does not have the permission this endpoint needs.