Empty List

This API is used to empty users in a given list.

API Details

URL Schema:
US IDC:
https://api.netcoresmartech.com/apiv2

Indian IDC:
https://apiin.netcoresmartech.com/apiv2

EU IDC:
https://jsonapi.eu-north-1.eu.netcoresmartech.com/apiv2

Method:
POST

Header:

KeyValue
Content-Typeapplication/x-www-form-urlencoded

Parameters:

ParameterDecriptionData TypeRequiredParameter Type
activityActivity refers to the action that is being performed through the API, that is, add, delete, update, and so on.
Value here: emptylist
StringYesQuery Parameter
typeHere type is lists StringYesQuery Parameter
listnameEach list in CEE has a unique name assigned to it to identify. Passing this name is required to let the API know to which list the list is supposed to be emptied.StringYesQuery Parameter
apikeyYou can obtain the API key from the CEE panel. Log in to your CEE panel and go to Admin. Enable the API Mode in Account Configuration under Advance details. Now, go to Sub Admin and click Edit on your user name. You can view your API key here.StringYesQuery Parameter

Request:

http://api.netcoresmartech.com/apiv2?activity=emptylist&listname=xx&apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&type=lists

*Response:

Success :
{
    "status": "success",
    "details": "List name xx emptied successfully"
}