users
Revoke all sessions for a user (force logout).
This is the critical endpoint for the "terminated employee" use case. Returns 0 sessions revoked if enhanced session management is not enabled.
delete/admin/v1/users/{user_id}/sessions
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /admin/v1/users/{user_id}/sessions
- Auth: HTTP bearer
Path parameters
user_idstring uuid required
User ID
Response
All sessions revoked
Changes
No recorded changes to this operation across all 1 revision of this API.