code: @DELETE
      @Consumes(Servlets.JSON_MEDIA_TYPE)
      @Produces(Servlets.JSON_MEDIA_TYPE)
      @Path("/uniqueAttribute/type/{typeName}")
      public EntityMutationResponse deleteByUniqueAttribute(@PathParam("typeName") String typeName,
                                                            @Context HttpServletRequest servletRequest) throws AtlasBaseException {
          AtlasPerfTracer perf = null;
  
          try {
              Map<String, Object> attributes = getAttributes(servletRequest);
  
              if (AtlasPerfTracer.isPerfTraceEnabled(PERF_LOG)) {
                  perf = AtlasPerfTracer.getPerfTracer(PERF_LOG, "EntityREST.deleteByUniqueAttribute(" + typeName + "," + attributes + ")");
              }
  
              AtlasEntityType entityType = ensureEntityType(typeName);
  
              return entitiesStore.deleteByUniqueAttributes(entityType, attributes);
          } finally {
              AtlasPerfTracer.log(perf);
          }
      }
docs: Delete an entity identified by its type and unique attributes.
  @param  typeName - entity type to be deleted
  @param  servletRequest - request containing unique attributes/values
  @return EntityMutationResponse