---
schema_version: "1"
id: 6ccb0dfdfa03eb026ec94139b877e2262e94fdeb0b538e12f5d5cb0f3fa4ebe8
title: Delete
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-apis/delete.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/delete.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: f71dfe373d2eff2efad7af052f6ac02974846bf4822d7de70734764f25f46de5
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Delete

Delete objects individually or in batches. You can delete multiple object types in a request. The API deletes objects in the order they appear in the `APIObject` array.

## Parameters

| Name            | Data Type                                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| --------------- | ------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Objects`       | Array of [APIObject](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/apiobject.md) objects | A collection of one or more objects to delete. The objects are deleted in the order they have been acted upon: first in, first out. This array can hold different object types, which allows you to perform complex interactions like deleting an account and two emails, in one call.                                                                                                                                                              |
| `Options`       | [DeleteOptions](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/deleteoptions.md) object   | Optionally specifies [more processing options](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/deleteoptions.md). A DeleteOptions instance is required for this parameter. However, no properties need to be defined for the instance.                                                                                                                                                                                                                                                              |
| `OverallStatus` | String                                     | Specifies the overall status of the request. Valid status values include:<ul><li>OK - This status code states that all objects were successfully deleted.</li><li>Has Error - Valid for Delete method calls with multiple APIObject objects, this status code states that some of the operations failed, while some succeeded.</li><li>Error - This status code states that all delete operations failed during validation or processing.</li></ul> |
| `RequestID`     | String                                     | A unique identifier for the request. This string contains an output variable of the key of the request.                                                                                                                                                                                                                                                                                                                                             |

## Output

| Name           | Data Type | Description                                                                                                                                                                                          |
| -------------- | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `DeleteResult` | Array     | An array of objects that contains a list of return values. The API returns objects in the order they are deleted. This array contains one `DeleteResult` object for each `APIObject` in the request. |

## Related Items

- [Delete a Data Extension](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/deleting_a_data_extension_object.md)
- [Delete a Row from a Data Extension](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/deleting_a_row_from_a_data_extension_via_the_web_service_api.md)
- [Delete a Subscriber List](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/deleting_a_subscriber_list.md)
- [Delete a Subscriber Profile Attribute](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/deleting_a_subscriber_profile_attribute.md)
