Skip to main content
DELETE
/
api-keys
/
{apiKeyId}
Revoke API key
curl --request DELETE \
  --url http://localhost:8080/api-keys/{apiKeyId} \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-API-SECRET: <api-key>'
{
  "message": "<string>",
  "status": "<string>",
  "error": "<string>",
  "data": {}
}

Revoke API key

DELETE /api-keys/{apiKeyId}

Authentication

Authentication is required to manage API keys.
The exact authentication mechanism is not part of the public API contract.

Description

Revokes an API key (current behavior).

Request

Path parameters: apiKeyId
Query parameters: Query parameters are not explicitly documented.
Request body:
This endpoint does not accept a request body.

Response

Returns a JSON response indicating the result of the operation.

Errors

401 Unauthorized — Authentication required or invalid
429 Too Many Requests — Rate limit exceeded
Additional errors may occur due to validation or internal processing
and are not exhaustively documented.

Authorizations

X-API-KEY
string
header
required

API Key for MCP server and external service authentication

X-API-SECRET
string
header
required

API Secret for MCP server and external service authentication

Path Parameters

apiKeyId
string
required

Response

API key revoked successfully

message
string
status
string
error
string
data
object