> For the complete documentation index, see [llms.txt](https://docs.fylr.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fylr.io/for-developers/api/endpoints/collection/remove.md).

# /remove

Unlink the listed objects from the collection identified by `collectionId`. The body is a bare JSON array of objects (each by `_global_object_id` or `lookup:_global_object_id`); if any object is not currently linked the call fails with `400 CollectionRemoveNotAllObjectsFound`. The collection `_version` is not changed.

### `POST /collection/remove/{collection_id}` — Remove the listed objects from a collection.

{% openapi src="/files/kfiDjhyZfEICNBmt5f49" path="/collection/remove/{collection\_id}" method="post" %}
[fylr-openapi.yml](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-050645483a006e5537fee4cbfbd32be0bf2a9a23%2Ffylr-openapi.yml?alt=media)
{% endopenapi %}
