SysRemoveGroupMember
Remove a member from the group, bypassing group ownership/ACL checks.
Service | Operation |
---|---|
group | SYS_REMOVE_GROUP_MEMBER |
Method Parameters
Parameter | Description |
---|---|
groupId | The id of the group. |
profileId | The profile id of the user being removed from the group. |
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 = "the-profile-id";
var groupProxy = bridge.getGroupServiceProxy();
var postResult = groupProxy.sysRemoveGroupMember(groupId, profileId);
if (postResult.status == 200) {
// Success!
}
{
"service": "group",
"operation": "SYS_REMOVE_GROUP_MEMBER",
"data":
{
"groupId": "a-group-id",
"profileId": "the-profile-id"
}
}
JSON Response
{
"status" : 200,
"data" : null
}
Common Error Code
Status Codes
Code | Name | Description |
---|---|---|
40455 | APP_ERROR | Cannot delete group owner. |