Logout user
Logout User
Logs out the current user and destroys the session.
POST
Logout user
Documentation Index
Fetch the complete documentation index at: https://docs.cocartapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Originally this endpoint was used to log out a user and their cart session when relying on WooCommerce session cookie. While the endpoint is not needed to clear the users session anymore, you can still use it to clear any WordPress cookies that may have been set.
Response
User logged out successfully.
The response is of type boolean.
Example:
true