SysDeleteGroup
Delete a group, bypassing ownership/ACL checks.
This method is affected by versioning. See the versioning documentation for more information.
Service | Operation |
---|---|
group | SYS_DELETE_GROUP |
Method Parameters
Parameter | Description |
---|---|
groupId | ID of the group |
version | The current group version |
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 version = 3;
var groupProxy = bridge.getGroupServiceProxy();
var postResult = groupProxy.sysDeleteGroup(groupId, version);
if (postResult.status == 200) {
// Success!
}
{
"service": "group",
"operation": "SYS_DELETE_GROUP",
"data": {
"groupId": "a-group-id",
"version": 3
}
}
JSON Response
{
"status": 200,
"data": null
}