Logout
logout
Logout the current user. Calls ec.user.logoutUser() which sets hasLoggedOut on Moqui UserAccount and invalidates the HTTP session, and triggers the before-logout webapp event (defined in MoquiConf.xml) which sets hasLoggedOut=Y on the OFBiz UserLogin record.
Authorizations
AuthorizationstringRequired
Responses
401
Authentication required
No content
403
Access Forbidden (no authz)
429
Too Many Requests (tarpit)
500
General Error
post/logout
POST /rest/s1/admin/logout HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
No content
Last updated
Was this helpful?