Skip to main content
Version: 5.7.0

UpdateSystemEntity

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

ServiceOperation
globalEntityUPDATE_SYSTEM_ENTITY

Method Parameters

ParameterDescription
entityIdThe id of the entity to update.
versionThe version of the entity to update. Use -1 to indicate the newest version.
dataThe entity's data object.

Usage

http://localhost:3000
// S2S call: to view example, switch to the Cloud Code or Raw tab.
JSON Response
{
"data": {
"response": {
"data": {
"gameId": "22198",
"entityIndexedId": null,
"timeToLive": 0,
"createdAt": 1498850247510,
"entityType": "address",
"entityId": "4b2f1cba-cc52-4d3c-8663-ff540ee48a38",
"acl": {
"other": 2
},
"ownerId": null,
"version": 2,
"expiresAt": 9223372036854776000,
"updatedAt": 1498850536733
},
"status": 200
},
"success": true
},
"status": 200
}