code: public Request delete(String ruleId) {
          Asserts.assertNotNull(ruleId, "rule id");
  
          String url = baseUrl
                  .newBuilder()
                  .addPathSegments("api/v2/rules")
                  .addPathSegment(ruleId)
                  .build()
                  .toString();
          VoidRequest request = new VoidRequest(client, url, "DELETE");
          request.addHeader("Authorization", "Bearer " + apiToken);
          return request;
      }
docs: Delete an existing Rule. A token with scope delete:rules is needed.
  See https://auth0.com/docs/api/management/v2#!/Rules/delete_rules_by_id
  
  @param ruleId the rule id
  @return a Request to execute.