code: public Response deleteMultiple(@NotNull @PathParam("ids") URI_ID id,
                                     @NotNull @PathParam("ids") final PathSegment ids,
                                     @QueryParam("permanent") final boolean permanent) throws Exception {
          Set<String> idSet = ids.getMatrixParameters().keySet();
          final Response.ResponseBuilder builder = Response.noContent();
          final TxRunnable failProcess = t -> builder.status(Response.Status.NOT_FOUND);
          final MODEL_ID firstId = tryConvertId(ids.getPath());
          final Set<MODEL_ID> idCollection = Sets.newLinkedHashSet();
          idCollection.add(firstId);
  
          if (!idSet.isEmpty()) {
              idCollection.addAll(Collections2.transform(idSet, this::tryConvertId));
          }
          matchedDelete(firstId, idCollection, permanent);
          if (!idSet.isEmpty()) {
              executeTx(t -> {
                  preDeleteMultipleModel(idCollection, permanent);
                  boolean p = deleteMultipleModel(idCollection, permanent);
                  if (!p) {
                      builder.status(Response.Status.ACCEPTED);
                  }
                  postDeleteMultipleModel(idCollection, p);
              }, failProcess);
          } else {
              executeTx(t -> {
                  preDeleteModel(firstId, permanent);
                  boolean p = deleteModel(firstId, permanent);
                  if (!p) {
                      builder.status(Response.Status.ACCEPTED);
                  }
                  postDeleteModel(firstId, p);
              }, failProcess);
          }
          return builder.build();
      }
docs: Delete multiple model using Id's from the Matrix.
  <br>
  success status 200
  <br>
  fail status 404
  <br>
  logical delete status 202
  
  @param id        The id use for path matching type
  @param ids       The ids in the form "/resource/id1" or "/resource/id1;id2;id3"
  @param permanent a boolean.
  @return a {@link javax.ws.rs.core.Response} object.
  @throws java.lang.Exception if any.
  @see javax.ws.rs.DELETE
  @see AbstractModelResource#deleteMultiple