Delete a Subscriber
DELETE to /api/account/ACCOUNT_CODE/subscribers/ENCODED_SUBSCRIBER_ID.xml
- Your ACCOUNT_CODE can be found via the administrative interface.
- The ENCODED_SUBSCRIBER_ID is the following information run through Base64 conversion:
- For email subscribers: email address.
- For wireless subscribers: a string consisting of country code, a plus (+) sign, and the (digit-only) phone number. Example: 1+5555555555
- The appropriately encoded ID will be returned in the <to-param> element of the output from the Create Subscriber method.
Subscriber Deleted Notification
This operation will cause the system to send a Subscriber Deleted confirmation message to the subscriber. To avoid sending this message, send the DELETE operation using the following endpoint:
/api/account/ACCOUNT_CODE/subscribers/ENCODED_SUBSCRIBER_ID?send_notifications=false.
Output
A successful operation will have a 200 OK response status and an empty response body.
Troubleshooting
Reference subscriber error codes
Was this page helpful? Can't find what you need? Let us know
Open topic with navigation