Skip to main content
Version: 5.7.0

SysCreateGroupEntity

Create an entity in the group with no owner. Optional parameters: All except groupId.

ServiceOperation
groupSYS_CREATE_GROUP_ENTITY

Method Parameters

ParameterDescription
groupIdID of the group
entityTypeType of the group entity
aclAccess control list for the group entity
jsonDataCustom application data

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"status": 200,
"data": {
"gameId": "20595",
"groupId": "fee55a37-5e86-43e8-942e-06bcbe1b701e",
"entityId": "91cfece7-debb-4698-ba6b-cd2cb432458d",
"ownerId": null,
"entityType": "BLUE",
"createdAt": 1462812680359,
"updatedAt": 1462812680359,
"version": 1,
"data": {},
"acl": {
"member": 2,
"other": 1
}
}
}