Subscriber Delete (Subscriber.Delete)

Description

Deletes a subscriber from a list

Input Parameters

Command=Subscriber.Delete [required]
Required command to perform API request
ResponseFormat [optional] [default=XML]
Defines the response data format. It can be equal to XML or JSON .
SessionID [required]
Your session ID. In order to run this API call, you need to be logged in and have session ID.
SubscriberID [required]
ID number of the target subscriber
ListID [required]
ID number of the target subscriber list

Output Parameters

Success [true or false]
If an error has occurred, this parameter will be equal to false. Otherwise it will be set to true.
ErrorCode [integer]
If an error has occurred, this parameter will contain error codes. Otherwise it will be set to 0.
SessionID [string]
If login was successful, this parameter will contain the session ID that you will need on your following API calls.

Error Codes

#1
List ID is missing
#2
List not found
#3
Subscriber ID is missing
#4
Subscriber ID does not exist in the list
#9998
Unauthorized access. User login required to execute this API call.
#9999
Invalid API call. Please check the API command and try again.