How do I delete a node in AEM from the OS command line?

Environment

  • AEM 6.x

Steps

  1. 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:
http://sling.apache.org/documentation/getting-started/discover-sling-in-15-minutes.html

Този материал е лицензиран под лиценз Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported  Публикациите в Twitter™ и Facebook не попадат под клаузите на Creative Commons.

Правни бележки   |   Правила за онлайн поверителност