🎉 Portkey raises Series A - $15M to build AI that never breaks  Read announcement →
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>"
}
'{}Updates an existing 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>"
}
'{}ID of the label to update
OK
The response is of type object.
Was this page helpful?