---
title: INDeleteTasksIntent
framework: intents
role: symbol
role_heading: Class
path: intents/indeletetasksintent
---

# INDeleteTasksIntent

A request to delete one or more tasks.

## Declaration

```swift
class INDeleteTasksIntent
```

## Overview

Overview Siri creates an INDeleteTasksIntent object when the user marks one or more tasks for deletion. The intent object can contain the task information. To handle this intent, the handler object in your Intents extension must adopt the INDeleteTasksIntentHandling protocol. Your handler should confirm the request and create an INDeleteTasksIntentResponse object with the updated task information. Additional Intent Attributes The following table lists additional attributes of this intent object:  |   |   |  Example Phrases Users can ask Siri to delete tasks in a variety of ways. The table below provides a few sample phrases in different languages. You can use these phrases during testing to trigger your intents. This list isn’t exhaustive and Siri may recognize many other phrases.  |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |  In the preceding examples, <appName> represents the name of the app whose Intents extension handles the request.

## Topics

### Initializing the Intent Object

- [init(taskList:tasks:all:)](intents/indeletetasksintent/init(tasklist:tasks:all:).md)

### Getting the Task Information

- [taskList](intents/indeletetasksintent/tasklist.md)
- [tasks](intents/indeletetasksintent/tasks.md)
- [all](intents/indeletetasksintent/all-8gg59.md)

## Relationships

### Inherits From

- [INIntent](intents/inintent.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [INIntentSetImageKeyPath](intents/inintentsetimagekeypath.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Task Deletion

- [INDeleteTasksIntentHandling](intents/indeletetasksintenthandling.md)
- [INDeleteTasksIntentResponse](intents/indeletetasksintentresponse.md)
- [INDeleteTasksTaskListResolutionResult](intents/indeletetaskstasklistresolutionresult.md)
- [INDeleteTasksTaskResolutionResult](intents/indeletetaskstaskresolutionresult.md)
