Monday, July 22, 2019

curl to disable/stop AEM component from under /system/console/components

Disable:
curl -d "action=disable" -u admin:"pass" -X POST http://IP:Port/system/console/components/component-name


Enable:
curl -d "action=enable" -u admin:"pass+" -X POST http://IP:Port/system/console/components/component-name