v1

latestOpenAPI 3.0.12026-08-0435481.5 MB
Users

Revoke a user session

Revoke a specific user session by its ID, optionally revoking associated target grants and tokens.

delete/api/users/{userId}/sessions/{sessionId}

Path parameters

userIdstring required

The unique identifier of the user.

sessionIdstring required

The unique identifier of the session.

Query parameters

revokeGrantsTarget'all' | 'firstParty'

Optional target for revoking associated grants and tokens. 'all' revokes grants for every application authorized by this session. 'firstParty' revokes only first-party app grants; third-party app grants remain active. If omitted, grants remain active when the session authorizations include offline_access; otherwise they are revoked.

Response

Session revoked successfully.