AEM Spark: Disable and Enable Users

Sometimes, you might find yourself wanting to disable a user account in Adobe Experience Manager, while leaving the account itself intact. This is easy to do via curl: curl -vfs -u admin:admin http://localhost:4502/.rw.html -F “disableUser=Disabled via curl” This sets a protected property on the user node, called rep:disabled – as the term “protected property” suggests, …