Skip to content
Alphahelmstudio is early software: things will change, and some will break.What's newReport an issue

authAdminRevokeApiKey

DELETE
/auth/admin/apikeys/{id}
curl --request DELETE \
--url http://localhost:8300/auth/admin/apikeys/example \
--header 'Authorization: Bearer <token>' \
--header 'x-api-key: <x-api-key>'
id
required
string

API key id (UUID; malformed = 404)

Revoked

Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Valid token without the admin role: “admin role required”

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Unknown or already revoked key

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}