Delete Subscriber

The section describes the JSON request to delete a subscriber from a list

Required to Submit JSON Request

Username

The email that account holder uses to login SMTP PLANS

API Token

The API token user has generated using API Configuration section

Method

POST

Path

https://portal.smtp-plans.com/API/deleteSubscriber

Field Details

Label/ Variable

Priority

Description

subscriber_id

Required

Subscriber ID is required to delete particular subscriber using API request


Success Response

Upon providing appropriate information along with correct Subscriber ID, required subscriber will be deleted and you will get success response as below.

Status value for the successfully deleted subscriber will be- “success” Data Returned-"Subscriber ID"

{"status":"success","response":{"Subscriber ID":"2"}}

Erroneous Response

When you submit request with inappropriate, incorrect information.

Status value for unsuccessful submission will be-"error”
Data Returned- Text based message describing reason of unsuccessful response
Some erroneous responses are as follows.

{"status":"error","response":"Subscriber not available to delete"}

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Add Subscriber

The section describes the JSON request to add a new subscriber to a list Required to Submit...

Get Subscriber

The section describes the JSON request to get a subscriber detail Required to Submit JSON...

Get Subscribers

The section describes the JSON request to get multiple subscribers Required to Submit JSON...

Update Subscriber

The section describes the JSON request to update a subscriber Required to Submit JSON Request...

Add List

The section describes the JSON request to add a new list Required to Submit JSON Request...