Documentation

ResetCharacterStatistics

Completely removes all statistics for the specified character, for the current game

Request Details

Note that this action cannot be un-done. All statistics for this character will be deleted, removing the user from all leaderboards for the game.

ResetCharacterStatisticsRequest
Request Properties
CharacterId (required) String

Unique PlayFab assigned ID for a specific character owned by a user

PlayFabId (required) String

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

POST https://{{TitleID}}.playfabapi.com/Admin/ResetCharacterStatistics
    Content-Type: application/json
    X-SecretKey: <developer_secret_key>
{
  "PlayFabId": "293753934",
  "CharacterId": "7654321"
}
        

Response Details

ResetCharacterStatisticsResult
Result Properties

Sample Response

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


Authentication

SecretKey

Possible Error Codes

Name Code
AccountNotFound 1001