Delete page
1 |
DELETE /api/1/page/{id} |
Parameters
Name | Parameter Type |
Allow Multiple |
Required/ Optional |
Data Type | Description |
---|---|---|---|---|---|
Authorization: | Header | False | Required | String (Bearer {access token}) | Pass the authentication token that was granted when you authorized access. |
id | Path | False | Required | String | Id of the page to delete. |
Request
HTTP
Following is an example HTTP request:
1 2 3 4 |
DELETE /api/1/page/p-0004 HTTP/1.1 Host: restapi.actonsoftware.com Authorization: Bearer 45cde4bdb39141fd455235a87de7dfb Cache-Control: no-cache |
curl
Following is an example curl request:
1 |
curl -X DELETE -H "Authorization: Bearer 45cde4bdb39141fd455235a87de7dfb" -H "Cache-Control: no-cache" https://restapi.actonsoftware.com/api/1/page/p-0004 |
Response
A successful request results in an HTTP 200 response with a JSON object like the following:
{
“status”: “success”,
“message”: “Page deleted”
}