---
title: "removeDeliveredNotifications(withIdentifiers:)"
framework: usernotifications
role: symbol
role_heading: Instance Method
path: "usernotifications/unusernotificationcenter/removedeliverednotifications(withidentifiers:)"
---

# removeDeliveredNotifications(withIdentifiers:)

Removes your app’s notifications from Notification Center that match the specified identifiers.

## Declaration

```swift
func removeDeliveredNotifications(withIdentifiers identifiers: [String])
```

## Parameters

- `identifiers`: An array of doc://com.apple.documentation/documentation/Foundation/NSString objects, each of which corresponds to a value in the doc://com.apple.usernotifications/documentation/UserNotifications/UNNotificationRequest/identifier property of a doc://com.apple.usernotifications/documentation/UserNotifications/UNNotificationRequest object. This method ignores the identifiers of requests whose notifications are not currently displayed in Notification Center.

## Discussion

Discussion Use this method to selectively remove notifications that you no longer want displayed in Notification Center. The method executes asynchronously, returning immediately and removing the specified notifications on a background thread.

## See Also

### Removing delivered notifications

- [getDeliveredNotifications(completionHandler:)](usernotifications/unusernotificationcenter/getdeliverednotifications(completionhandler:).md)
- [removeAllDeliveredNotifications()](usernotifications/unusernotificationcenter/removealldeliverednotifications().md)
