Skip to main content
POST
/
v1
/
manage
/
apikey
/
{id}
/
label
Update API key labels
curl --request POST \
  --url https://api-v2.requesty.ai/v1/manage/apikey/{id}/label \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "labels": {}
}'
Update labels for an API key. Labels are key-value pairs that can be used for organization and filtering. Setting an empty object will remove all labels.
Labels are useful for organizing and filtering API keys. Common use cases include tagging by environment (production, staging), team, or project.

Authorizations

Authorization
string
header
required

API key for authentication

Path Parameters

id
string<uuid>
required

Body

application/json
labels
object
required

Key-value pairs of labels. Empty object removes all labels.

Response

204

Labels updated successfully