Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Logout

logout

logout User

post

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

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?