Account Management - Update User Title Display Name

Updates the title specific display name for a user

POST https://titleId.playfabapi.com/Admin/UpdateUserTitleDisplayName

Request Body

Name Required Type Description
DisplayName True
  • string

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

PlayFabId True
  • string

PlayFab unique identifier of the user whose title specific display name is to be changed

Responses

Name Type Description
200 OK
400 Bad Request

This is the outer wrapper for all responses with errors

Security

SecretKey

This API requires a title secret key, available to title admins, from PlayFab Game Manager.

Type: apiKey
In: header

Definitions

ApiErrorWrapper

The basic wrapper around every failed API response

UpdateUserTitleDisplayNameRequest

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. This API enables changing that name, whether due to a customer request, an offensive name choice, etc.

UpdateUserTitleDisplayNameResult

ApiErrorWrapper

The basic wrapper around every failed API response

Name Type Description
code
  • integer

Numerical HTTP code

error
  • string

Playfab error code

errorCode
  • integer

Numerical PlayFab error code

errorDetails
  • object

Detailed description of individual issues with the request object

errorMessage
  • string

Description for the PlayFab errorCode

status
  • string

String HTTP code

UpdateUserTitleDisplayNameRequest

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. This API enables changing that name, whether due to a customer request, an offensive name choice, etc.

Name Type Description
DisplayName
  • string

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

PlayFabId
  • string

PlayFab unique identifier of the user whose title specific display name is to be changed

UpdateUserTitleDisplayNameResult

Name Type Description
DisplayName
  • string

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

Error Codes

Name Code
InsufficientFunds 1059
NameNotAvailable 1058