How to delete all Taxonomy terms of particular vocabulary using entity_delete_multiple? I want to delete all taxonomy terms of particular vocabulary using entity_delete_multiple. For node it is working fine

$result = \Drupal::entityQuery('node')
      -&gt;condition('type', 'page')
      -&gt;execute();
  entity_delete_multiple('node', $result);


If i am changing taxonomy_term and type to tags or any other vocabulary, or replaced type by bundle 

$result = \Drupal::entityQuery('taxonomy_term')
      -&gt;condition('type', 'tags')
      -&gt;execute();
  entity_delete_multiple('taxonomy_term', $result);


it is throwing error like this.


  Drupal\Core\Entity\Query\QueryException: 'type' not found in
  Drupal\Core\Entity\Query\Sql\Tables->ensureEntityTable() (line 304 of
  core/lib/Drupal/Core/Entity/Query/Sql/Tables.php).


And also i need a same query to delete user(s), watchdog and profiles.

Is there any way to do it?
Try to use vid instead of type. I haven't tried the code, but try the following 

$result = \Drupal::entityQuery('taxonomy_term')
      -&gt;condition('vid', 'tags')
      -&gt;execute();
  entity_delete_multiple('taxonomy_term', $result);


Here is a good example for using entityQuery.

For deleting users, you can use entity_delete_multiple or user_delete_multiple

To delete user with uid 10

entity_delete_multiple('user', \Drupal::entityQuery('user')-&gt;condition('uid', '10', '=')-&gt;execute());


or pass an array of uids to user_delete_multiple

user_delete_multiple(array $uids);


I'm not aware of how to delete comments.