Auth

Revoke one of the signed-in user's sessions

Hosted browser-session route (cookie + double-submit CSRF + same-origin). Revokes a single session by id, scoped to the actor (cannot revoke another user's session).

post/auth/account/sessions/revoke

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/auth/account/sessions/revoke
  • Auth: API key in cookie __Host-Http-r402_session

Request body

session_idstring required

Response

{ ok, revoked }

object required

Changes

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