API Key Management

Disable an API key

Permanently disables an API key. This action cannot be undone. You can only disable your own API key.

Authentication required: Pass your API key in the X-API-Key header.

delete/keys/{keyId}

Request

  • Base URL: https://api.rateapi.dev
  • URL: https://api.rateapi.dev/keys/{keyId}
  • Auth: API key in header X-API-Key

Path parameters

keyIdstring required
Example:a1b2c3d4e5f6g7h8

The ID of the API key to disable

Response

API key disabled successfully

messagestring required

Human-readable detail about this result.

Example response

{
  "message": "API key disabled successfully"
}

Changes

No recorded changes to this operation across all 1 revision of this API.