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

Regenerate API key

POST /api-keys/{apiKeyId}/regenerate

Authentication

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

Description

Regenerates 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.
API secrets are returned only once at creation or regeneration time.

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 regenerated successfully

message
string
status
string
error
string
data
object