Skip to content

Powered by Grav + Helios

Revoke API Key

Revoke API Key

DELETE /users/{username}/api-keys/{keyId}
Revoke and delete an API key.

Parameters

Name Type Description
username required string The username who owns the API key
keyId required string The ID of the API key to revoke

Response Codes

204 API key revoked
401 Unauthorized
403 Forbidden
404 API key not found