Rest Endpoint for User Management in AEM
Hi
Which is the rest api endpoint for user/group management in AEM.
Hi
Which is the rest api endpoint for user/group management in AEM.
Hi @akshaybhujbale ,
We don't have api end point for user management. You have to use
1. Curl to create user/groups
2. Back end API to perform user/group related operations.
3. Use Postman to make rest call to perform user/group operation.
Use this curl to create user
curl -u admin:admin -FcreateUser=aem-user -FauthorizableId=user-aem -Frep:password=useraem -Fprofile/gender=male -Fprofile/givenName=AEM -Fprofile/familyName=USER http://localhost:4502/libs/granite/security/post/authorizables
Use this curl create group
curl -u admin:admin -FcreateGroup=geeks-group -FauthorizableId=geeksGroup http://localhost:4502/libs/granite/security/post/authorizables
User postman to create rest call to create user
1. create POST request to url - http://localhost:4502/libs/granite/security/post/authorizables
2. Add input to body ie. createUser, authorizableId etc
3. Add Authorization -> Basic Auth -> credentials(aem)
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.