---
title: INDeleteTasksIntentResponse
framework: intents
role: symbol
role_heading: Class
path: intents/indeletetasksintentresponse
---

# INDeleteTasksIntentResponse

Your response to a request to delete tasks.

## Declaration

```swift
class INDeleteTasksIntentResponse
```

## Overview

Overview Use an INDeleteTasksIntentResponse object to return information about your attempt to delete an existing task. Siri communicates the information from your response to the user at appropriate times. You create an INDeleteTasksIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your handler object. For more information about implementing your handler object, see INDeleteTasksIntentHandling.

## Topics

### Initializing the Response Object

- [init(code:userActivity:)](intents/indeletetasksintentresponse/init(code:useractivity:).md)

### Accessing the Deleted Tasks

- [deletedTasks](intents/indeletetasksintentresponse/deletedtasks.md)

### Getting the Response Code

- [code](intents/indeletetasksintentresponse/code.md)
- [INDeleteTasksIntentResponseCode](intents/indeletetasksintentresponsecode.md)

## Relationships

### Inherits From

- [INIntentResponse](intents/inintentresponse.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.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)
- [INDeleteTasksIntent](intents/indeletetasksintent.md)
- [INDeleteTasksTaskListResolutionResult](intents/indeletetaskstasklistresolutionresult.md)
- [INDeleteTasksTaskResolutionResult](intents/indeletetaskstaskresolutionresult.md)
