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
200 - application/json
Customer logged out successfully.
The response is of type boolean
.
Example:
true