Skip to main content
Version: 5.7.0

UpdateEntityIndexedId

Updates an existing entity's IndexedId on the server.

ServiceOperation
globalEntityUPDATE_INDEXED_ID

Method Parameters

ParameterDescription
entityIdThe id of the entity to update.
versionThe version of the entity to update. Use -1 to indicate the newest version.
entityIndexedIdInxdexedId of the entity to update.

Usage

http://localhost:3000
// S2S call: to view example, switch to the Cloud Code or Raw tab.
JSON Response
{
"data": {
"gameId": "123456",
"entityId": "218d19d1-cda9-48a7-a918-a796281219f1",
"ownerId": "77ce8889-20b7-4d01-b248-e0beb747f1b4",
"entityType": "address",
"entityIndexedId": "entityId1",
"version": 4,
"acl": {
"other": 1
},
"expiresAt": 9223372036854776000,
"timeToLive": -1,
"createdAt": 1557939144108,
"updatedAt": 1557939241957
},
"status": 200
}