SysUpdateGroupMember
Update a member of the group.
Service | Operation |
---|---|
group | SYS_UPDATE_GROUP_MEMBER |
Method Parameters
Parameter | Description |
---|---|
groupId | ID of the group |
profileId | Profile ID of the member being updated |
role | Role of the member being updated |
jsonAttributes | Attributes of the member being updated |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var groupId = "a-group-id";
var profileId = "a-profile-id";
var role = "MEMBER";
var jsonAttributes = {};
var groupProxy = bridge.getGroupServiceProxy();
var postResult = groupProxy.sysUpdateGroupMember(groupId, profileId, role, jsonAttributes);
if (postResult.status == 200) {
// Success!
}
{
"service": "group",
"operation": "SYS_UPDATE_GROUP_MEMBER",
"data": {
"groupId": "a-group-id",
"profileId": "a-profile-id",
"role": "MEMBER",
"attributes": {}
}
}
JSON Response
{
"status": 200,
"data": null
}