Delete List

The section describes the JSON request to delete 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/deleteList


Field Details

Label

Priority

Description

list_id

Required

The only required field to delete particular list is its ID.

Success Response

Upon providing appropriate information such as API token, username, path and valid list ID, you will get your list deleted and will be given the following response.

Status value for successfully deleted List will be- “success”
Data Returned-"List ID" 

{"status":"success","response":{"List ID":"8"}}

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
An example of error response is when you initiate the request without the list ID.

{"status":"error","response":"List ID is required to delete the list"}

 

  • 0 Los Usuarios han Encontrado Esto Útil
¿Fue útil la respuesta?

Artículos Relacionados

Add Subscriber

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

Delete Subscriber

The section describes the JSON request to delete a subscriber from 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...