# Filter away entry in collection?

**URL:** <https://discourse.getcockpit.com/t/filter-away-entry-in-collection/180>\
**Category:** Support\
**Created:** [July 26, 2018, 1:34pm UTC](https://discourse.getcockpit.com/t/filter-away-entry-in-collection/180 "2018-07-26T13:34:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jesperlandberg](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/jesperlandberg/32/60_2.png) [@jesperlandberg](https://discourse.getcockpit.com/u/jesperlandberg)\
**Post date:** [July 26, 2018, 1:34pm UTC](https://discourse.getcockpit.com/t/filter-away-entry-in-collection/180/1 "2018-07-26T13:34:01Z")

</div>

With this I can get a single entry

> await axios.get(`${env.cockpit.apiUrl}/collections/get/Case?token=${env.cockpit.apiToken}&filter[slug]=${params.slug}`)

But how would I turn this so that I get all entries, except the one with this field and value?
