Skip to main content
Version: 5.7.0

UpdateGroupEntityAcl

Update the acl settings for a group entity, enforcing ownership.

ServiceOperation
groupUPDATE_GROUP_ENTITY_ACL

Method Parameters

ParameterDescription
groupIdThe id of the group.
entityIdThe id of the entity to update.
aclAccess control list for the group entity.

Usage

http://localhost:3000
string groupId = "a-group-id";
string entityId = "a-group-entity-id";
string acl = "{ \"member\": 1, \"other\": 0 }";
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.GroupService.UpdateGroupEntityAcl(groupId, entityId, acl, successCallback, failureCallback);
JSON Response
{
"data": {
"createdAt": 1666994425075,
"entityType": "myEntityType",
"groupId": "2bf538d1-19ea-4e14-9862-f979215e09b7",
"entityId": "e62dfe16-e6ec-4ebf-b044-2bb3626027e8",
"acl": {
"member": 1,
"other": 0
},
"ownerId": null,
"version": 2,
"updatedAt": 1666994963444
},
"status": 200
}