Update a Label
PUT/api/labels/{id}
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| id | Number | Label unique ID |
| title | String | optional Optional Title |
| context | String | optional Optional context (project|invoice|ticket|task|client|lead|event|note|to_do|subscription|...) |
| color | String | optional Optional color as a hex value (e.g. #83c340) |
| user_id | Number | optional Optional owning user id |
curl -X PUT "https://yoursite.com/api/labels/123" \
-H "authtoken: YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "field": "value" }'