Users

Log out current session

Changed on

Revokes the presented refresh token server-side and clears the refresh_token cookie. No bearer token required: only the token presented in the cookie is revoked.

post/users/logout

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/users/logout
  • Auth
    none declared

Cookies

refresh_tokenstring

JWT refresh token set during login

Response

Logged out; refresh token revoked and cookie cleared

Changes