Skip to main content
Version: Next

Log out a user

POST

/system/v2/accounts/users/{id}/logout

Platform support: MT and CC

Token Cost: 2 tokens (low)

Closes every open site manager session of the site user. Sessions of other accounts, including administrators with the same id, are not affected. Succeeds when the user has no open sessions.

The sessions are closed again shortly after the request returns, because a GUI request of the user that is still running writes its session back when it ends. Sessions opened through LDAP or JWT (single sign-on) logins are not tied to the user id and are not closed.

Request​

Responses​

No Content