EdgeCore version: 4.3.0
Method
DELETE /public/domains/{domainName}/content
Used to remove content from a specific domain.
Parameters
Name | Type | Description | Mandatory |
domainName |
string | Domain whose content you want to delete | Yes |
content[] |
array of strings | Content pages you want to delete;
If the value is *, all content will be removed; |
Yes |
cURL example
curl --location --request DELETE 'http://localhost:8080/public/domains/testdomain/content' \ --header 'edgeApiKey: YWRtaW5AZGVmYXVsdHx3IDNHe2tMZTYhMkZkO3J3cipDaSZUdio5' \ --form 'content[]=/Content Menu/Charts'
HTTP Response
Code | Status | Description |
204 | No Content | The request has succeeded and there is no additional content to send in the response payload body. |
404 | Not Found | The domain could not be found. |