2. Introduction
• This presentation contains the following MMC Rest API
operations of User Groups.
1.Create a User Group
2.Get All User Groups
3.Get a User Group
4.Update a User Group
5.Delete a User Group
6.Get All User Group Permissions
3. Create a User Group
• To create a user group, need to provide the group name,
description and Permissions as shown in the below URL.
• curl --basic -u username:password -d '{ "name" :
"NewUserGroup", "description": "View and Delete Events",
"permissions": ["VIEW_ACTIVITY","TRACKING_DELETE"] }' --
header 'Content-Type: application/json'
http://localhost:8585/mmc/api/usergroups
• HTTP Method: POST
4. Get All User Groups
• To get all available user groups, need to provide the below URL.
• curl --basic -u username:password
http://localhost:8585/mmc/api/usergroups
• HTTP Method: GET
5. Get a User Group
• To get a specific user group, need to provide the user group name
as shown in the below URL.
• curl --basic -u username:password
http://localhost:8585/mmc/api/usergroups/{userGroupName}
• HTTP Method: GET
6. Update a User Group
• To update a specific user group, need to provide the json string as
shown in the below URL.
• curl --basic -u username:password -X PUT -d { "name" :
"NewUserGroup", "description": "View and Delete Events",
"permissions": ["VIEW_ACTIVITY","TRACKING_DELETE"] }" --
header 'Content-Type: application/json'
http://localhost:8585/mmc/api/usergroups/Deployers
• HTTP Method: PUT
7. Delete a User Group
• To remove/delete a specific user group, need to give the user
group name as shown in the below URL.
• curl --basic -u username:password -X DELETE
http://localhost:8585/mmc/api/usergroups/{userGroupName}
• HTTP Method: DELETE
8. Get All User Group Permissions
• To get all available user group permissions, need to provide the
user group name as shown in the below URL.
• curl --basic -u username:password
http://localhost:8585/mmc/api/usergroups/permissions
• HTTP Method: GET