Skip to main content
PUT
Edit an api key

Authorizations

x-api-key
string
header
required

Path Parameters

user_id
string
required

Body

application/json

A partial api-key edit — only the fields present are overwritten; a null/{}/"" value clears an optional gate.

condition
TemplatedText · object | null

A renderable text: its source plus the parameters its render takes.

EXACTLY ONE source is set — content (the text inline) or id (the id of a stored resource holding the text); neither and both are refused at construction. kwargs are the render parameters for the TEXT and apply either way, so moving a text from inline to stored (or back) leaves its parameters untouched.

description
string | null
Minimum string length: 1
policy_data
Policy Data · object | null
scopes
string[] | null

Response

Success.

data
UserUpdateAck · object
required

Acknowledges an api-key edit.