Skip to main content
POST
Replace an active API token atomically, without changing its grants.

Authorizations

Authorization
string
header
required

An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

Path Parameters

tokenID
string
required

Response

Success response

access
string
capabilities
string[]

(absent for unscoped keys).

default_org
object
expires_at
string
hint
string
id
string
is_scoped
boolean

allowlist is empty.

replaced_token_id
string

the rotation committed.

resource_slugs
string[]
token
string