API Keys

Mark an API key inactive and clear its Redis cache entry.

delete/api-key/{key_id}

Request

  • Base URL
    http://localhost:8080
  • URL
    http://localhost:8080/api-key/{key_id}
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

key_idstring required

Response

OK

key_idstring
messagestring

Example response

{
  "key_id": "018f2c1a-...",
  "message": "API key revoked successfully"
}

Changes