Delete a List

DELETE https://restapi.actonsoftware.com/api/1/list/{listid}

This endpoint allows you to delete lists from the account.

Parameters

Name Parameter
Type
Allow
Multiple
Required/
Optional
Data Type Description
Authorization: Header False Required String Insert your generated access token.
("Bearer {access token}")
listid Path False Required String Specify the list ID in which you would like to access.

Response

{
  "status": "success",
  "message": "List deleted"
}

Code Examples

cURLPython

curl -X DELETE https://restapi.actonsoftware.com/api/1/list/l-0017 -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs"

import requests

url = "https://restapi.actonsoftware.com/api/1/list/l-0017"

payload = {}
headers = {
  'Authorization': 'Bearer 12345678-9abc-defg-hijk-lmnopqrs'
}

response = requests.request("DELETE", url, headers=headers, data = payload)

print(response.text.encode('utf8'))