Zum Inhalt springen
SoulFire LogoSoulFire

Invalidate self sessions

Diese Anleitung gibt es nur auf Englisch.

POST
/v1/client/sessions:invalidate

Invalidates all existing sessions for the currently authenticated user. This is done by setting the user's minIssuedAt timestamp to the current time, which causes all previously issued JWT tokens to become invalid. After calling this method, the user will need to re-authenticate on all devices.

Authorization

headerAuthorizationBearer <JWT>

Preferred API authentication. Use a JWT with the api audience.

Response Body

Response message for session invalidation operation.

application/json
  1. response

Response message for session invalidation operation. An empty response indicates the operation completed successfully.

Example Request
curl -X POST 'http://127.0.0.1:38765/v1/client/sessions:invalidate'
Example Response
{}

War diese Seite hilfreich?