Documentation

UpdateUserTitleDisplayName

Updates the title specific display name for the user

Request Details

In addition to the PlayFab username, titles can make use of a DisplayName which is also a unique identifier, but specific to the title. This allows for unique names which more closely match the theme or genre of a title, for example.

UpdateUserTitleDisplayNameRequest
Request Properties
DisplayName (required) String

New title display name for the user - must be between 3 and 25 characters.

POST https://{{TitleID}}.playfabapi.com/Client/UpdateUserTitleDisplayName
    Content-Type: application/json
    X-Authentication: <user_session_ticket_value>
{
  "DisplayName": "User Title Name"
}
        

Response Details

UpdateUserTitleDisplayNameResult
Result Properties
DisplayName String

Current title display name for the user (this will be the original display name if the rename attempt failed).

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
  "code": 200,
  "status": "OK",
  "data": {
    "DisplayName": "User Title Name"
  }
}

Authentication

SessionTicket

Possible Error Codes

Name Code
InvalidPartnerResponse 1193
NameNotAvailable 1058
ProfaneDisplayName 1234
UsernameNotAvailable 1009