API Keys
Update an API key
Update an API key's name.
patch/org/api_keys/{id}
Path parameters
idstring required
API key ID
Request body
Example request
{
"name": "new-api-name"
}Response
API key updated
Example response
{
"id": "ckv9w8q2f000001l5r3j7k9m4",
"name": "production",
"created_by": {
"id": "user-abc123",
"email": "user@example.com",
"name": "Jane Doe"
},
"project_id": "proj_abc123",
"project_name": "Production",
"masked_key": "sk_1234...abcd"
}