<!--
{
  "availability" : [
    "iOS: 13.0.0 - 15.0.0",
    "iPadOS: 13.0.0 - 15.0.0",
    "macCatalyst: 13.1.0 - 15.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 6.0.0 - 8.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INDeleteTasksIntent",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INDeleteTasksIntent"
  },
  "title" : "INDeleteTasksIntent"
}
-->

# INDeleteTasksIntent

A request to delete one or more tasks.

```
class INDeleteTasksIntent
```

## Overview

Siri creates an [`INDeleteTasksIntent`](/documentation/Intents/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`](/documentation/Intents/INDeleteTasksIntentHandling) protocol. Your handler should confirm the request and create an [`INDeleteTasksIntentResponse`](/documentation/Intents/INDeleteTasksIntentResponse) object with the updated task information.

### Additional Intent Attributes

The following table lists additional attributes of this intent object:

|Attribute                      |Description |
|-------------------------------|------------|
|Supported by                   |Siri Intents|
|Always requires unlocked device|No          |

### 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.

|Locale|Example 1                              |Example 2                      |
|------|---------------------------------------|-------------------------------|
|en    |Remove my buy milk reminder            |Delete all my reminders        |
|zh_CN |删除买牛奶的提醒事项                             |删除全部提醒事项                       |
|zh_HK |刪除買牛奶嘅提醒事項                             |刪除全部提醒事項                       |
|zh_TW |刪除買牛奶的提醒事項                             |刪除所有提醒事項                       |
|yue_CN|删除买牛奶嘅提醒事项                             |删除全部提醒事项                       |
|ar    |مسح تذكير شراء الحليب                  |مسح جميع التذكيرات             |
|da    |Fjern min køb mælk påmindelse          |Slet alle mine påmindelser     |
|de    |Entferne meine Milch kaufen Erinnerung |Lösche alle meine Erinnerungen |
|es    |Elimina mi recordatorio comprar leche  |Elimina todos mis recordatorios|
|fi    |Poista muistutus osta maitoa           |Poista kaikki muistutukset     |
|fr    |Efface mon rappel pour acheter du lait |Supprime tous mes rappels      |
|he    |תמחק את התזכורת לקנות חלב              |תמחקי את כל התזכורות שלי       |
|it    |Rimuovi il promemoria comprare il latte|Elimina tutti i miei promemoria|
|ja    |牛乳を買うというリマインダーを削除して                    |リマインダーを全部削除して                  |
|ko    |우유 사기 미리 알림 지워                         |모든 미리 알림 삭제해                   |
|ms    |Padamkan peringatan beli susu saya     |Padamkan semua peringatan saya |
|nb    |Fjern min kjøpe melk påminnelse        |Slett alle påminnelsene mine   |
|nl    |Verwijder melk kopen herinnering       |Wis al mijn herinneringen      |
|pt    |Remova o lembrete comprar leite        |Remover todos os meus lembretes|
|ru    |Удали моё напоминание купить молоко    |Удали все мои напоминания      |
|sv    |Ta bort min köp mjölk påminnelse       |Radera alla mina påminnelser   |
|th    |ลบเตือนความจำซื้อนม                        |ลบเตือนความจำทั้งหมด               |
|tr    |Süt al anımsatıcımı kaldır             |Tüm hatırlatmalarımı sil       |

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:)`](/documentation/Intents/INDeleteTasksIntent/init(taskList:tasks:all:))

Creates the intent object with information about the task list and the tasks to delete from it.

[`-  initWithTaskList:tasks:all:`](/documentation/Intents/INDeleteTasksIntent/initWithTaskList:tasks:all:)

Initializes the intent object with information about the task list and the tasks to delete from it.

### Getting the Task Information

[`taskList`](/documentation/Intents/INDeleteTasksIntent/taskList)

The task list from which to delete tasks.

[`tasks`](/documentation/Intents/INDeleteTasksIntent/tasks)

The tasks to delete from a task list.

[`all`](/documentation/Intents/INDeleteTasksIntent/all-8gg59)

A Boolean value that indicates whether to delete all the tasks from a task list.

[`all`](/documentation/Intents/INDeleteTasksIntent/all-1dt4g)

A Boolean value that indicates whether to delete all the tasks from a task list.

## Relationships

### Conforms To

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Hashable`](/documentation/Swift/Hashable)

[`INIntentSetImageKeyPath`](/documentation/Intents/INIntentSetImageKeyPath)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

### Inherits From

[`INIntent`](/documentation/Intents/INIntent)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)