This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Terminates the member's session and clears authentication cookies.
Returns the following:
body: HTML content for the logout responsestatusCode: HTTP status code (200 for success, 302 for redirect)headers: Array of key-value pairs including:Set-Cookie headers to remove all session cookiesLocation header (when postLogoutRedirectUri is provided, with 302 status)This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.