# Select all entities except some?

**URL:** <https://community.dynatrace.com/t/select-all-entities-except-some/50397>\
**Category:** Dynatrace API\
**Tags:** dynatrace-api\
**Created:** [February 21, 2025, 7:32pm UTC](https://community.dynatrace.com/t/select-all-entities-except-some/50397 "2025-02-21T19:32:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![olegus](https://avatars.discourse-cdn.com/v4/letter/o/3d9bf3/32.png) [@olegus](https://community.dynatrace.com/u/olegus)\
**Post date:** [February 21, 2025, 7:32pm UTC](https://community.dynatrace.com/t/select-all-entities-except-some/50397/1 "2025-02-21T19:32:05Z")

</div>

Is it possible to select all entities EXCEPT some?

All I can see are .equals, startsWith, .in

Am I missing something?

Thanks,

Oleg

---

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [February 21, 2025, 7:42pm UTC](https://community.dynatrace.com/t/select-all-entities-except-some/50397/2 "2025-02-21T19:42:55Z")

</div>

Hello [@olegus](https://community.dynatrace.com/user/65794), first an important clarification, you can select only all entities of a type, look here at [Limitations.](https://docs.dynatrace.com/docs/shortlink/api-entities-v2-selector#limitations)

With that said, you can use the [not](https://docs.dynatrace.com/docs/shortlink/api-entities-v2-selector#negate-criterion) clause to invert the selection.
