/logout

These are the possible response codes when you make an API call to the /logout endpoint.

Response codeErrorMessageScenarioResolution
200 OK--Shows 200 OK return and user has been logged out-
200 OK--Remove refresh_token parameter for all session/user-
200 OK--Invalid redirect_uri-
200 OK--Missing redirect_uri value-
200 OK--Removed redirect_uri paramater-
200 OK--Invalid grant_type-
200 OK--Missing grant_type value-
200 OK--Removed grant_type value-
200 OK--Removing all_session parameter-
400 Bad Requesthttp_exception"Invalid json format"Empty payloadAdd the payload.
400 Bad Requestinvalid_parameters"Invalid json format"Invalid JSON format used in the payload.Use correct JSON format for the payload.
401 Unauthorizedhttp_exception"Unauthorized"Expired refresh_tokenEnter a fresh refresh_token
403 Forbiddenhttp_exception"error_details:{
"message":"Forbidden"
}
Incorrect client_id valueEnter a valid client_id value.
422 Unprocessable Entityinvalid_parameters"client_id":{
"missing": "required"
}

no error description
Removed client_id parameterAdd the client_id parameter and value.
422 Unprocessable Entityinvalid_request"error_details": "invalid_argument"
"unknown refresh_token"
Incorrect refresh_tokenEnter the correct refresh token value.
422 Unprocessable Entityinvalid_request"error_details": "invalid_argument"
"unknown refresh_token"
Remove refresh_token parameter for single sessionAdd the refresh_token parameter and value.
422 Unprocessable Entityinvalid_parameters"auth_type": {
"invalid": "unsupported auth_type value"
}

no error description
Invalid auth_type valueEnter a valid auth_type value.
422 Unprocessable Entityinvalid_parameters"auth_type": {
"invalid": "unsupported auth_type value"
}

no error description
Missing auth_type valueEnter a valid auth_type value.
422 Unprocessable Entityinvalid_parameters"auth_type": {
"invalid": "unsupported auth_type value"
}

no error description
Removed auth_type parameterAdd the auth_type parameter and value.
422 Unprocessable Entityinvalid_parameters"user_id": {
"invalid": "invalid value"
}

no error description
Invalid user_id valueEnter a valid user_id value.
422 Unprocessable Entityinvalid_user"user_id": {
"invalid": "invalid value"
}

no error description
Missing user_id valueEnter a valid user_id value.
422 Unprocessable Entityinvalid_parameters"user_id": "field required"Removed user_id parameterAdd the user_id parameter and value.
422 Unprocessable Entityinvalid_parameters"310": "Expecting ',' delimiter: line x column xx (char xxx)"Invalid all_session valueEnter a valid all_session value.
503 Service Temporarily Unavailable-"Backend action does not exist""Incorrect version code in URL " typed in vxx but we only have vxx for now"Enter the correct version code in the URL.