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
Description of the label
Color code for the label
OK
The response is of type object.
object
Was this page helpful?