Documentation is still being updated. Some content maybe unfinished.
curl --request POST \
--url {protocol}://{host}/wp-json/cocart/v2/logouttrueLogs out the current user and destroys the session.
curl --request POST \
--url {protocol}://{host}/wp-json/cocart/v2/logouttrueUser logged out successfully.
The response is of type boolean.
true
Was this page helpful?