Log out an administrator
POST
/system/v2/accounts/administrators/{id}/logout
Platform support: MT and CC
Token Cost: 2 tokens (low)
Closes every open site manager session of the administrator. Sessions of other accounts are not affected. Succeeds when the administrator has no open sessions.
The sessions are closed again shortly after the request returns, because a GUI request of the administrator 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 administrator id and are not closed.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 500
No Content
Invalid request
Unauthorized
Forbidden
Resource not found
Internal server error