Delete a mailing list
DELETE /lists/{MailingListID}/delete.{Format}
Deletes an email list from your Sitecore Send account.
Request
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| MailingListID | path | string | true | The ID of the email list to be deleted. |
| Format | path | string | true | The supported file format for getting a response.Possible values: json and xml. |
| apikey | query | string | true | The API key of your account. |
http
curl
Response
| Status | Description | Headers | Schema |
|---|---|---|---|
| 200 OK | The request is successful. | Content-Type/json | N/A |
json
-
Code- the response error message. This is0if successful. -
Error- the response error message. This isnullif successful. -
Context- this isnullif successful.
If you have suggestions for improving this article, let us know!