changeUserGroupRoles
- Home
- Users & Groups
- SvcGroups
- changeUserGroupRoles
changeUserGroupRoles
Changes a user’s membership type for a group.
Parameters
| Name | Description |
| userID required | ID of the user performing the action. |
| groupID required | ID of the group. |
| status required | Group membership status type for a user. |
| output optional | The response output format. Accepts JSON and XML. |
Request Syntax
| https://services.onesite.com/rest/svcGroups?action=changeUserGroupRoles&userID=229829209&groupID=1000811&status=moderator&devkey=[devkey] |
JSON Response
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
{ "service":"svcGroups", "action":"changeUserGroupRoles", "code":1, "message":"Group Member Role Successfully Updated To moderator", "item":{ "1":{ "groupID":1000811, "userID":229829209, "status":"moderator" } } } |
Service Information
| Service | svcGroups |
| Method | changeUserGroupRoles |
| Type | REST |
| Response Types | JSON, XML |