code: public ApiResponse<RefreshResponse> refreshWithHttpInfo(String region) throws ApiException {
          com.squareup.okhttp.Call call = refreshValidateBeforeCall(region, null, null);
          Type localVarReturnType = new TypeToken<RefreshResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Refresh auth state in the selected region.
  Change current SAML state.
  @param region The name of region (required)
  @return ApiResponse&lt;RefreshResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body