GET

Logout


Developer Preview

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 response
  • statusCode: HTTP status code (200 for success, 302 for redirect)
  • headers: Array of key-value pairs including:
  • Set-Cookie headers to remove all session cookies
  • Location header (when postLogoutRedirectUri is provided, with 302 status)
Endpoint
GET
https://www.wixapis.com/_api/iam/authentication/v1/logout

Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?