account

Revoke one of the caller's own sessions (self; interactive sessions only)

Deleting the session row is the revocation. A session the caller does not own is indistinguishable from a missing one (404). API-key callers have no sessions (404).

delete/api/v1/account/sessions/{id}

Request

  • Base URL: https://amplerun-api.spiry.org
  • URL: https://amplerun-api.spiry.org/api/v1/account/sessions/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Better Auth session id (not a UUID).

Response

Revoked.

Changes

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