# [OAuth 2.0] Log user out Logs the user out and deletes the user session according to the value of the sessions parameter. Call the Check user authentication call to see if the user is logged in. Endpoint: GET /oauth2/logout Version: v1 Security: Bearer, ExternalBearer ## Query parameters: - `sessions` (string, required) Shows how the user is logged out and how the user session is deleted. The parameter has the following values: * sso is used for deleting only the SSO user session. * all is used for deleting the SSO user session and invalidating all access and refresh tokens. Enum: "sso", "all" ## Response 401 fields (application/json): - `error` (object, required) - `error.code` (string, required) Error code. Example: "003-061" - `error.description` (string, required) Error description. Example: "Object not found." - `error.details` (object) Additional information. ## Response 429 fields (application/json): - `error` (object, required) - `error.code` (string, required) Error code. Example: "003-061" - `error.description` (string, required) Error description. Example: "Object not found." - `error.details` (object) Additional information. ## Response 204 fields