How do I delete a node in AEM from the OS command line?
Download and install curl
Run this command (replace aem-host and port with the hostname and port of the AEM server)
curl -u admin: -X DELETE http://aem-host:port/content/foo/test
For more on this topic, see the Apache Sling documentation:
Sign in to your account
Choose your region
Selecting a region changes the language and/or content on Adobe.com.
Europe, Middle East and Africa