Skip to content

Revoke an API key

DELETE
/v1/api-keys/{id}
curl --request DELETE \
--url http://localhost:8080/v1/api-keys/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0

Revokes the key so it can no longer be exchanged for a token; the revocation is recorded as an auth event. Administrators only. 404 for an unknown key, 409 when it is already revoked.

id
required
string format: uuid

No Content