grandline-auth

Revoke Key

Revoke (soft-delete) one of the caller's API keys.

The row stays in the table — revoked_at is set so the auth middleware refuses to validate the key from now on, but listing still shows it for audit. Hard-deleting the row would also remove its last_used_at history which is useful for incident response.

delete/api/v1/auth/keys/{key_id}

Request

  • Base URL: https://grandline.luzomi.com
  • URL: https://grandline.luzomi.com/api/v1/auth/keys/{key_id}
  • Auth: none declared

Path parameters

key_idinteger required

Response

Successful Response

idinteger required
revoked_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.