---
title: "removeNotifications(identifiers:)"
framework: accessorynotifications
role: symbol
role_heading: Instance Method
path: "accessorynotifications/notificationsforwarding/accessorynotificationssession/removenotifications(identifiers:)"
---

# removeNotifications(identifiers:)

Removes the identified notifications.

## Declaration

```swift
func removeNotifications(identifiers: [AccessoryNotification.Identifier]) async throws
```

## Parameters

- `identifiers`: An array of notification identifiers to clear.

## Discussion

Discussion This method has equivalent behavior to clearing notifications from Notification Center on the phone. The system doesn’t send actions to apps for removed notifications. This method only throws for errors receiving the removal request, not if some identifiers were already removed.

## See Also

### Removing notifications

- [removeNotifications(withIdentifiers:sourceIdentifier:)](accessorynotifications/notificationsforwarding/accessorynotificationssession/removenotifications(withidentifiers:sourceidentifier:).md)
