Skip to main content
DELETE
Revoke an API key

Authorizations

Authorization
string
header
required

A workspace API key, sent as Authorization: Bearer sempera_sk_... Each operation names the one scope it needs. Scopes, key kinds and roles are in the Authentication guide.

Path Parameters

key_id
string
required

Response

OK

id
string
required
object
any
required
kind
string
required
role
string
required
scopes
string[]
required
name
any
key_prefix
any
workspace_id
any
status
enum<string>
Available options:
active,
revoked,
expired
created_at
any
expires_at
any
revoked_at
any
last_used_at
any