Skip to main content
Version: 5.7.0

UpdateSystemEntityAcl

Method updates the acl of an exisiting system entity on the server.

ServiceOperation
globalEntityUPDATE_SYSTEM_ENTITY_ACL

Method Parameters

ParameterDescription
entityIdThe id of the entity to update.
versionThe version of the entity to update. Use -1 to indicate the newest version.
aclThe entity's Access Control List as an object. A null ACL implies default permissions which make the entity readable/writeable by only the owner.

Usage

http://localhost:3000
// S2S call: to view example, switch to the Cloud Code or Raw tab.
JSON Response
{
"data": {
"response": {
"data": {
"gameId": "22232",
"entityIndexedId": null,
"timeToLive": -1,
"createdAt": 1499276273151,
"entityType": "address",
"entityId": "5ae3644f-5306-4b24-8134-29b0c1fdf713",
"acl": {
"other": 2
},
"ownerId": null,
"version": 2,
"expiresAt": 9223372036854776000,
"updatedAt": 1499276316486
},
"status": 200
},
"success": true
},
"status": 200
}