SysDeleteGroupEntity
Delete an entity in the group, bypassing ownership/ACL checks
Service | Operation |
---|---|
group | SYS_DELETE_GROUP_ENTITY |
Method Parameters
Parameter | Description |
---|---|
groupId | ID of the group |
entityId | ID of the entity. |
version | The current version of the group entity (for concurrency checking). |
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 entityId = "a-group-entity-id";
var version = 3;
var groupProxy = bridge.getGroupServiceProxy();
var postResult = groupProxy.sysDeleteGroupEntity(groupId, entityId, version);
if (postResult.status == 200) {
// Success!
}
{
"service": "group",
"operation": "SYS_DELETE_GROUP_ENTITY",
"data": {
"groupId": "a-group-id",
"entityId": "a-group-entity-id",
"version": 3
}
}
JSON Response
{
"status": 200,
"data": null
}