cURL
curl --request PATCH \ --url https://api.teleskop.dev/labels/{id} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{}'
{ "status": "success", "statusCode": 200, "data": { "name": "<string>", "id": "0062b94c-9531-45c5-a171-8019b5c39406", "creator_id": "a76ea981-f007-44e6-b4d7-2dbdc61ce338", "created_at": "2025-07-29T13:37:12.548Z", "updated_at": "2025-07-29T13:37:12.548Z", "description": "<string>", "color": "<string>" }, "message": "Request successful", "metadata": {} }
Updates a single label. The label to be updated is identified by its id.
id
API Key for authentication
The body is of type object.
object
Label updated successfully
Response status
success
error
"success"
HTTP status code
200
Response data
Show child attributes
Name (minimum length 3).
Label ID
"0062b94c-9531-45c5-a171-8019b5c39406"
Creator ID
"a76ea981-f007-44e6-b4d7-2dbdc61ce338"
"2025-07-29T13:37:12.548Z"
Color in hex format (e.g., #RRGGBB or #RGB).
Response message
"Request successful"
Additional metadata