Skip to content

Revoke an API key

DELETE
/api-keys/{key_id}
curl --request DELETE \
--url https://api.global.stillbox.example/v1/api-keys/example \
--header 'Authorization: Bearer <token>'

Owners can revoke any key; members only the keys they created.

key_id
required
string

The key no longer works

The API key is missing or invalid

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

Only an owner can do this (owner_only), or the invitation is for another address (not_invited)

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

No such sandbox in your organization (or no such file)

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}