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/
This sets a protected property on the user node, called rep:disabled – as the term “protected property” suggests, you aren’t supposed to directly interact with that property, but rather it should be set through the appropriate service.
To later re-enable this user, just pass a blank value:
curl -vfs -u admin:admin http://localhost:4502/
This will delete the protected property, and re-enable the user.
If you have a better solution to this problem that you’d like to share, contact us at info@aempodcast.com