Unsubscribe a subscriber from a mailing list
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 from which you want to unsubscribe a subscriber. |
|
path |
string |
true |
The supported file format for getting a response. Possible values: |
|
query |
string |
true |
The API key of your account. |
|
body |
string |
true |
The email address of the subscriber. |
POST https://{hostname}/v3/subscribers/{MailingListID}/unsubscribe.{Format}?apikey=
Request body:
{
"Email": "[email protected]"
}
Response
Status |
Description |
Headers |
Schema |
---|---|---|---|
|
The request is successful. |
|
N/A |
{
"Code": 0,
"Error": null,
"Context": null
}
-
Code
- the response code. This is0
if successful. -
Error
- the response error message. This isnull
if successful. -
Context
- this isnull
if successful.