API Keys
Update an API key
Changed onUpdate an API key's name.
patch/org/api_keys/{id}
Request
- Base URLhttps://api.onkernel.com
- URLhttps://api.onkernel.com/org/api_keys/{id}
- AuthHTTP bearer
Path parameters
idstring required
API key ID
Request body
Example request
{
"name": "new-api-name"
}Response
API key updated
Example response
{
"created_by": {
"email": "user@example.com",
"id": "user-abc123",
"name": "Jane Doe"
},
"id": "ckv9w8q2f000001l5r3j7k9m4",
"masked_key": "sk_1234...abcd",
"name": "production",
"policy": {
"statements": [
{
"action": "browsers:use",
"resource": "projects/proj_abc123/browsers/br_abc123"
}
]
},
"project_id": "proj_abc123",
"project_name": "Production"
}Changes
- info
added the required property
to the response with the status
- info
- info
added the optional property
to the response with the status
- info