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>"
}
'{}Documentation Index
Fetch the complete documentation index at: https://portkey-docs-feat-byteplus-provider.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Path Parameters
ID of the label to update
Body
application/json
Response
OK
The response is of type object.
Last modified on May 24, 2026
Was this page helpful?
⌘I

