Skip to main content
PUT
Update an API Key

Authorizations

Authorization
string
header
required

Use an access token retrieved from login (Bearer sess_...) or a programmatic API key (Bearer ak_...).

Path Parameters

id
string<uuid>
required

The unique UUID of the API Key to update.

Body

application/json
name
string

Descriptive name for the key.

team_ids
string<uuid>[]

Optional list of teams the key can access. Omit or pass an empty array for organization-wide access.

operation
enum<string>
Available options:
read_render,
all,
admin

Response

API key updated successfully

api_key
object