code: public ApiResponse<RuleEnvelope> deleteRuleWithHttpInfo(String ruleId) throws ApiException {
          com.squareup.okhttp.Call call = deleteRuleValidateBeforeCall(ruleId, null, null);
          Type localVarReturnType = new TypeToken<RuleEnvelope>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Delete Rule
  Delete a Rule
  @param ruleId Rule ID. (required)
  @return ApiResponse&lt;RuleEnvelope&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body