users
keys
Revoke a user API key
Changed onRevoke an API key for a user. Revocation is terminal: a revoked key can no longer authenticate any request, and the revocation cannot be undone. Only the authenticated user themselves and server admins have access to this endpoint. This endpoint requires a user session: neither a user API key nor a deprecated user API token can revoke a key.
delete/v0/users/{user}/keys/{key}
Request
- The document declares no server URL.
- Authnone declared
Path parameters
keystring uuid required
The UUID for a user key.
userstring required
The slug or UUID for a user.
Response
successful deletion
Changes
- info
endpoint added
- info