Documentation

UnlinkXboxAccount

Unlinks the related Xbox Live account from the user's PlayFab account

Request Details

UnlinkXboxAccountRequest
Request Properties
PlayFabId (required) String

Unique PlayFab identifier for a user, or null if no PlayFab account is linked to the Xbox Live identifier.

XboxToken (required) String

Token provided by the Xbox Live SDK/XDK method GetTokenAndSignatureAsync("POST", "https://playfabapi.com", "").

POST https://{{TitleID}}.playfabapi.com/Server/UnlinkXboxAccount
    Content-Type: application/json
    X-SecretKey: <developer_secret_key>
{
  "XboxToken": "XBL3.0 x=1981989841;akljdlkafdknad",
  "PlayFabId": "5a446c83645201"
}
        

Response Details

UnlinkXboxAccountResult
Result Properties

Sample Response

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


Authentication

SecretKey

Possible Error Codes

Name Code
AccountNotLinked 1014
InvalidXboxLiveToken 1188