Auth

Logout all devices

Invalidate all JWT sessions for the current user.

post/api/v1/auth/logout-all

Request

  • Base URL: https://api.proof.holdings
  • URL: https://api.proof.holdings/api/v1/auth/logout-all
  • Auth: API key in cookie auth_token

Response

All sessions invalidated

successboolean required
messagestring required
invalidatedinteger required

Active sessions signed out. Idle devices are signed out too but not counted, so 0 does not mean none was; a failure answers 503 instead.

Example response

{
  "success": true,
  "message": "Signed out every other device (3 were active).",
  "invalidated": 3
}

Changes

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