---
title: "remove(_:)"
framework: appintents
role: symbol
role_heading: Instance Method
path: "appintents/entitycollection/remove(_:)-88jpq"
---

# remove(_:)

Removes an entity’s identifier from the collection.

## Declaration

```swift
mutating func remove(_ entity: Entity)
```

## Discussion

Discussion Parameter: entity: The entity containing the identifier to remove from the collection.
