Log out
POST/wp-json/wp2app/auth/v1/logout
Ends the current user cookie session and returns a new guest nonce. No request body.
Responses
- 200
- 401
- 403
OK
Not authenticated. WordPress REST: rest_not_logged_in / rest_forbidden. Use cookie + X-WP-Nonce or Application Password.
Insufficient capability or invalid REST nonce. WordPress REST: rest_forbidden / rest_cookie_invalid_nonce.