Skip to main content
DELETE
/
v1
/
api-keys
/
{api_key_id}
Delete API key
curl --request DELETE \
  --url https://api.coval.dev/v1/api-keys/{api_key_id} \
  --header 'X-API-Key: <api-key>'
{
  "error": {
    "code": "UNAUTHENTICATED",
    "message": "Authentication failed",
    "details": [
      {
        "field": "X-API-Key",
        "description": "Invalid or missing API key"
      }
    ]
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

api_key_id
string
required

API key resource ID (ULID, 26 characters)

Pattern: ^[0-9A-Z]{26}$

Response

API key deleted successfully (no content)