cURL
curl --request DELETE \ --url https://api.uplint.dev/api/v1/api-keys/{api_key_id} \ --header 'Authorization: Bearer <token>'
{ "status": "SUCCESS", "message": "API key revoked", "data": { "api_key_id": "6612f1a2c3b4d5e6f7890123", "status": "revoked" }, "timestamp": "2026-02-10T12:00:00Z" }
Permanently revoke an API key. This action is irreversible — the key can never be re-enabled.
Pass an API key or JWT token. API keys can be sent as Authorization: Bearer <key> or Authorization: <key>.
Authorization: Bearer <key>
Authorization: <key>
The API key's unique identifier.
API key revoked.
SUCCESS
Show child attributes
Was this page helpful?