Rename List
This API can be used to rename 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: edit | 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 |
id | ID of the list | string | Yes |
Request
http://api.netcoresmartech.com/apiv2?type=lists&activity=edit&apikey=xxxxxxxxxxxxxxxxxxxxx&id=xx&listname=abcd&desc=abcd
Response: 200 OK
{
"status": "success",
"details": "List updated successfully"
}
Updated over 4 years ago