code: public EntityResult deleteEntities(final String ... guids) throws AtlasServiceException {
          LOG.debug("Deleting entities: {}", guids);
          JSONObject jsonResponse = callAPIWithRetries(API.DELETE_ENTITIES, null, new ResourceCreator() {
              @Override
              public WebResource createResource() {
                  API api = API.DELETE_ENTITIES;
                  WebResource resource = getResource(api);
                  for (String guid : guids) {
                      resource = resource.queryParam(GUID.toLowerCase(), guid);
                  }
                  return resource;
              }
          });
          EntityResult results = extractEntityResult(jsonResponse);
          LOG.debug("Delete entities returned results: {}", results);
          return results;
      }
docs: Delete the specified entities from the repository
  
  @param guids guids of entities to delete
  @return List of entity ids updated/deleted
  @throws AtlasServiceException