addUserToGroup
- Home
- Users & Groups
- SvcGroups
- addUserToGroup
addUserToGroup
Adds a user as a member of 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=addUserToGroup&userID=229829209&groupID=1000811&status=member&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 |
{ "service":"svcGroups", "action":"addUserToGroup", "code":1, "message":"User Successfully Added As member", "item":{ "1":{ "groupID":1000811, "userID":229829209, "status":"member" } } } |
Service Information
Service | svcGroups |
Method | addUserToGroup |
Type | REST |
Response Types | JSON, XML |