Documentation

SetGameServerInstanceData

Sets the custom data of the indicated Game Server Instance

Request Details

SetGameServerInstanceDataRequest
Request Properties
GameServerData (required) String

Custom data to set for the specified game server instance.

LobbyId (required) String

Unique identifier of the Game Instance to be updated, in decimal format.

POST https://{{TitleID}}.playfabapi.com/Server/SetGameServerInstanceData
    Content-Type: application/json
    X-SecretKey: <developer_secret_key>
{
  "LobbyId": "29439584",
  "GameServerData": "\"DataA\":\"123\",\"DataB\":\"321\""
}
        

Response Details

SetGameServerInstanceDataResult
Result Properties

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8


Authentication

SecretKey

Possible Error Codes

Name Code
GameNotFound 1024