Session
Revoke
Changed onRevoke a Session and immediately invalidate all its tokens. To revoke a specific Session, pass either the member_session_id, session_token, or session_jwt. To revoke all Sessions for a Member, pass the member_id.
post/v1/b2b/sessions/revoke
Request
- Base URLhttps://api.stytch.com
- AuthHTTP basic
Headers
X-Stytch-Member-Sessionstring
A Stytch session that can be used to run the request with the given member's permissions.
X-Stytch-Member-SessionJWTstring
A Stytch Session JSON Web Token (JWT) that can be used to run the request with the given member's permissions.
Request body
Response
Successful response
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking