code: public ApiResponse<ApiSuccessResponse> unsubscribeWithHttpInfo(String subscriptionId) throws ApiException {
          com.squareup.okhttp.Call call = unsubscribeValidateBeforeCall(subscriptionId, null, null);
          Type localVarReturnType = new TypeToken<ApiSuccessResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Delete a subscription
  Delete the specified subscription by closing all its statistics.
  @param subscriptionId The unique ID of the subscription. (required)
  @return ApiResponse&lt;ApiSuccessResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body