Skip to content
getgeolens.com

Revoke Api Key

DELETE
/admin/api-keys/{key_id}
curl --request DELETE \
--url https://example.com/api/admin/api-keys/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Revoke (soft-delete) an API key (admin only).

key_id
required
Key Id
string format: uuid

Successful Response

Bad request — invalid query parameters or payload

Unauthorized — missing or invalid credentials

Forbidden — caller lacks access to this resource

Not found

Validation error

Internal server error