Skip to Content
homemade
Dashboard

Delete an API key

DELETE
/api/api-keys/{keyId}

Revokes the key at once. Requests that use it get 401 from then on.

Authorization

apiKey
headerAuthorizationBearer <hmk_…>

An API key from the dashboard or homemade api-key create.

Path Parameters

keyId*string

Response Body

Revoked.

application/json
  1. response
deleted*boolean
Example Request
curl -X DELETE 'https://api.homemade.dev/api/api-keys/string'
Example Response
{  "deleted": true}