Add Username Password
Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login.
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| AccountAlreadyLinked | 1011 |
| EmailAddressNotAvailable | 1006 |
| InvalidEmailAddress | 1005 |
| InvalidPassword | 1008 |
| InvalidUsername | 1007 |
| UsernameNotAvailable | 1009 |
Authorizations
This API requires a client session ticket, available from any Client Login function.
Body
User email address attached to their account
Password for the PlayFab account (6-100 characters)
PlayFab username for the account (3-20 characters)
The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
Response
Each account must have a unique username and email address in the PlayFab service. Once created, the account may be associated with additional accounts (Steam, Facebook, Game Center, etc.), allowing for added social network lists and achievements systems. This can also be used to provide a recovery method if the user loses their original means of access.
The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.
The Http status code as a string.
Each account must have a unique username and email address in the PlayFab service. Once created, the account may be associated with additional accounts (Steam, Facebook, Game Center, etc.), allowing for added social network lists and achievements systems. This can also be used to provide a recovery method if the user loses their original means of access.
