PUT https://api.actonsoftware.com/api/1/header/{id}
This endpoint allows you to update an existing header in the account.
Customers wanting to access our API via our gateway in the EU can use this link:
PUT https://api-eu.actonsoftware.com/api/1/header/{id}
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. |
| html | Form | False | Optional | String | Specify valid HTML for the header. |
| text | Form | False | Optional | String | Specify the text version of the header. |
| title | Form | False | Optional | String | Specify a title for the header. |
Parameter Notes
HTML and TEXT
The request must include the TEXT or HTML parameter.
Response
{
"status": "Success",
"message": "Header 1 updated.",
"id": "1"
}
Code Examples
cURL
curl -X PUT https://api.actonsoftware.com/api/1/header/1 -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs" -H "Content-Type: application/x-www-form-urlencoded" -d html='Updated HTML Text'