Documentation

ResetPassword

Reset a player's password for a given title.

Request Details

Resets a player's password taking in a new password based and validating the user based off of a token sent to the playerto their email. The token expires after 30 minutes.

ResetPasswordRequest
Request Properties
Password (required) String

The new password for the player.

Token (required) String

The token of the player requesting the password reset.

POST https://{{TitleID}}.playfabapi.com/Admin/ResetPassword
    Content-Type: application/json
    X-SecretKey: <developer_secret_key>
{
  "Token": "2B584FA1DF645E4",
  "Password": "Password12345F00B@r"
}
        

Response Details

ResetPasswordResult
Result Properties

Sample Response

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


Authentication

SecretKey

Possible Error Codes

Name Code
AuthTokenAlreadyUsedToResetPassword 1329
AuthTokenDoesNotExist 1327
AuthTokenExpired 1328
InvalidAuthToken 1326
InvalidTitleId 1004