Skip to content
SoulFire LogoSoulFire

Invalidate user sessions

POST
/v1/users/{id}/sessions:invalidate

Invalidates all active sessions for a user by updating their min_issued_at timestamp.

Authorization

headerAuthorizationBearer <JWT>

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

Path Parameters

id*string

The unique identifier (UUID) of the user whose sessions should be invalidated. Cannot be the ID of the requesting user (cannot invalidate own sessions via this method). Cannot be the root user ID (00000000-0000-0000-0000-000000000000).

Formatuuid

Response Body

Response message returned after successfully invalidating all sessions.

application/json
  1. response

Response message returned after successfully invalidating all sessions. Empty response indicates success.

Example Request
curl -X POST 'http://127.0.0.1:38765/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/sessions:invalidate'
Example Response
{}

Was this page helpful?