The Logout API is intended to be used to remove the refresh token and access token cookies if they exist on the client and revoke the refresh token stored. This API takes the refresh token in the JSON body. OR The Logout API is intended to be used to remove the refresh token and access token cookies if they exist on the client and revoke the refresh token stored. This API does nothing if the request does not contain an access token or refresh token cookies.

post/api/logout

Request

  • Base URL: http://localhost:9011
  • URL: http://localhost:9011/api/logout
  • Auth: API key in header Authorization

Query parameters

globalstring

When this value is set to true all the refresh tokens issued to the owner of the provided token will be revoked.

refreshTokenstring

The refresh_token as a request parameter instead of coming in via a cookie. If provided this takes precedence over the cookie.

Request body

globalboolean
refreshTokenstring

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.