Skip to main content
PATCH
/
labels
/
{id}
Update Label
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": {}
}

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

id
string
required

Body

application/json

The body is of type object.

Response

200 - application/json

Label updated successfully

status
enum<string>
required

Response status

Available options:
success,
error
Example:

"success"

statusCode
number
required

HTTP status code

Example:

200

data
object
required

Response data

message
string
required

Response message

Example:

"Request successful"

metadata
object

Additional metadata