Delete a Header

DELETE https://restapi.actonsoftware.com/api/1/header/{id}

This endpoint allows you to delete a header in 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}")
id Path False Required String Specify the ID of the header.

Response

{
  "status": "success",
  "message": "Header 1 deleted."
}

 

Code Examples

cURLPython

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

import requests

url = "https://restapi.actonsoftware.com/api/1/header/1"

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

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

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