SoulFire LogoSoulFire

Invalidate user sessions

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

POST
/v1/users/p0/sessions:invalidate

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

Authorization

AuthorizationBearer <token>

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

In: header

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

application/json

application/json

application/json

application/json

curl -X POST "http://127.0.0.1:38765/v1/users/p0/sessions:invalidate"
{}
{
  "code": 0,
  "grpc-code": "string",
  "message": "string",
  "stack-trace": "string",
  "details": [
    {}
  ]
}
{
  "code": 0,
  "grpc-code": "string",
  "message": "string",
  "stack-trace": "string",
  "details": [
    {}
  ]
}
{
  "code": 0,
  "grpc-code": "string",
  "message": "string",
  "stack-trace": "string",
  "details": [
    {}
  ]
}

How is this page?