Remove multiple subscribers
Request
|
Parameter |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
|
header |
string |
true |
Determines the expected format and data type to retrieve the response data. Value: |
|
|
path |
string |
true |
The ID of the email list that contains the subscribers you want to remove. |
|
|
path |
string |
true |
The supported file format for getting a response. Possible values: |
|
|
query |
string |
true |
The API key of your account. |
|
|
body |
object |
true |
A list of subscriber email addresses that you want to remove from the email list. Use a comma (,) to separate the email addresses. |
POST https://{hostname}/v3/subscribers/{MailingListID}/remove_many.{Format}?apikey=
Request body:
{
"Emails": "[email protected],[email protected],[email protected]"
}
Response
|
Status |
Description |
Headers |
Schema |
|---|---|---|---|
|
|
The request is successful. |
|
N/A |
{
"Code": 0,
"Error": null,
"Context": {
"EmailsIgnored": 0,
"EmailsProcessed": 3
}
}-
Code- the response code. This is0if successful. -
Error- the response error message. This isnullif successful. -
Context- an object that contains the following information:-
EmailsIgnored- the number of ignored email addresses. -
EmailsProcessed- the number of processed email addresses.
-