API Reference
Virtual Keys
Prompts
API Keys
Analytics [BETA]
- Summary
- Groups Paginated Data
- Graphs - Time Series Data
User Invites
Workspaces
Workspace Members
Audit Logs
OpenAPI
Update Label
Updates an existing label
PUT
/
labels
/
{labelId}
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
200
application/json
OK
The response is of type object
.
Was this page helpful?
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>"
}'
{}
Assistant
Responses are generated using AI and may contain mistakes.