Skip to main content
PATCH
Update an organization API key

Path Parameters

organizationId
string
required
Pattern: ^org_[0123456789abcdefghjkmnpqrstvwxyz]{26}$
Example:

"org_f6m39y94nh6fs513q03skj929c"

keyId
string
required
Pattern: ^key_[0123456789abcdefghjkmnpqrstvwxyz]{26}$
Example:

"key_6cw04zdmetw8t5rsdppadhper0"

Body

application/json
name
string
Example:

"Acme Growth Workspace"

allowed_origins
string<uri>[]
Example:
scopes
enum<string>[]

When updating a secret key, provide at least one supported secret-key scope, or ["*"] for all current and future scopes.

Minimum array length: 1
Available options:
*,
sessions:list,
sessions:read,
sessions:update,
fingerprints:list,
fingerprints:read,
organizations:create,
organizations:read,
organizations:update,
api_keys:read,
api_keys:manage,
gate:agent_tokens:verify,
gate:agent_tokens:revoke,
gate:login_sessions:consume,
gate:services:read,
gate:services:manage,
webhooks:read,
webhooks:manage
Example:

Response

Revoked API key response.

data
object
required
Example:
meta
object
required
Example: