Delete List
This API allows user to delete a list in Netcore CE.
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:
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 Netcore CE panel. Log in to your Netcore CE 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 about 2 months ago