🎉 Portkey raises Series A - $15M to build AI that never breaks  Read announcement →
cURL
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
ID of the label to update
Name of the label
^(?!latest$)(?!default$)(?!\d+$)[a-zA-Z0-9_-]*[^@\s]?[a-zA-Z0-9_-]*$
Description of the label
Color code for the label
OK
The response is of type object.
object
Was this page helpful?