Update a label
curl --request PUT \
--url https://api.portkey.ai/v1/labels/{labelId} \
--header 'Content-Type: application/json' \
--header 'x-portkey-api-key: <api-key>' \
--data '
{
"name": "<string>",
"description": "<string>",
"color_code": "<string>"
}
'{}Update Label
Updates an existing label
PUT
/
labels
/
{labelId}
Update a label
curl --request PUT \
--url https://api.portkey.ai/v1/labels/{labelId} \
--header 'Content-Type: application/json' \
--header 'x-portkey-api-key: <api-key>' \
--data '
{
"name": "<string>",
"description": "<string>",
"color_code": "<string>"
}
'{}Authorizations
Path Parameters
ID of the label to update
Body
application/json
Response
OK
The response is of type object.
Last modified on June 3, 2026
Was this page helpful?
⌘I

