Documentation

NotifyMatchmakerPlayerLeft

Informs the PlayFab match-making service that the user specified has left the Game Server Instance

Request Details

NotifyMatchmakerPlayerLeftRequest
Request Properties
LobbyId (required) String

Unique identifier of the Game Instance the user is leaving.

PlayFabId (required) String

Unique PlayFab assigned ID of the user on whom the operation will be performed.

POST https://{{TitleID}}.playfabapi.com/Server/NotifyMatchmakerPlayerLeft
    Content-Type: application/json
    X-SecretKey: <developer_secret_key>
{
  "LobbyId": "29439584",
  "PlayFabId": "204883457"
}
        

Response Details

NotifyMatchmakerPlayerLeftResult
Result Properties
PlayerState PlayerConnectionState

State of user leaving the Game Server Instance.

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
  "code": 200,
  "status": "OK",
  "data": {
    "PlayerState": "Unassigned"
  }
}

Authentication

SecretKey

Possible Error Codes

Name Code
GameNotFound 1024