Skip to main content
POST
Rotate an agent profile's scoped key

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Path Parameters

id
string
required

Agent profile UUID.

keyId
string
required

Scoped key UUID to revoke.

Body

application/json
name
string

Optional label for the replacement key.

Response

Replacement key, including the plaintext secret.

id
string
key
string

Plaintext key, shown only once.

prefix
string
name
string