Request body
json
{} (no request body)API Endpoint
Revoke a generated API key so it can no longer access provisioning routes.
POST /management/api-keys/{id}/revoke
Use these endpoints from internal tooling or your frontend backend to inspect licenses, manage slug policy templates, provisioning API keys, webhook endpoint configuration/logs, and offline JWT signing keys. Management routes require the management bootstrap key configured via MANAGEMENT_API_KEYS or MANAGEMENT_API_KEY.
curl -sS -X POST http://localhost:8080/management/api-keys/3/revoke \
-H "Authorization: Bearer management_key_dev_123456"{} (no request body){
"id": 3,
"name": "stripe-prod",
"hint": "a94f",
"created_at": "2026-04-21T10:30:00Z",
"revoked_at": "2026-04-21T11:00:00Z"
}id
number
Revoked key id.
revoked_at
string
RFC3339 timestamp when revocation was recorded.
Invalid key id.
Missing or invalid management API key.
API key not found.
Unexpected server or storage error.