---
title: destructive
framework: usernotifications
role: symbol
role_heading: Type Property
path: usernotifications/unnotificationactionoptions/destructive
---

# destructive

The action performs a destructive task.

## Declaration

```swift
static var destructive: UNNotificationActionOptions { get }
```

## Mentioned in

Declaring your actionable notification types

## Discussion

Discussion Use this option for actions that delete user data or change the app irrevocably. The action button is displayed with special highlighting to indicate that it performs a destructive task.

## See Also

### Constants

- [authenticationRequired](usernotifications/unnotificationactionoptions/authenticationrequired.md)
- [foreground](usernotifications/unnotificationactionoptions/foreground.md)
