Delete List
This API allows user to delete a list in Smartech.
Details
URL Schema:
US IDC:
https://api.netcoresmartech.com/apiv2
Indian IDC:
https://apiin.netcoresmartech.com/apiv2
Method:
POST
Header:
Key | Value |
---|---|
Content-Type | application/x-www-form-urlencoded |
Parameters:
Parameter | Description | Data Type | Required | Parameter Type |
---|---|---|---|---|
activity | Activity refers to the action that is being performed through the API, that is, add, delete, update, and so on. Value here: delete | String | Yes | Query Parameter |
listname | The name of the list that you are creating. | String | Yes | Body Parameter |
desc | Any description of the list that you may want to specify. | String | Optional | |
apikey | You can obtain the API key from the Smartech panel. Log in to your Smartech 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. | string | Yes | Query Parameter |
type | It represents the module or group the API belongs to. For example, if the API 's functionality is related to Contacts, type is 'contact'. value here: lists | string | Yes | Query Parameter |
Request:
http://api.netcoresmartech.com/apiv2?type=lists&activity=delete&apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxx&listname=xxxxx&desc=abcd
Response: 200 OK
{
"status": "success",
"details": "List name xxxxx deleted successfully"
}
Updated over 4 years ago