Passwords
This operation is documented in the sections below.
Change master account password
changeMasterPassword
Description
This operation is documented in the sections below.
Input
| Input field | Type | Required | Description |
|---|---|---|---|
currentPassword | String! | ✓ | Current password |
newPassword | String! | ✓ | New password |
confirmPassword | String! | ✓ | New password confirmation |
pin | String | - | Confirmation PIN code. |
Result
Response type - OperationResult.
Errors
UNAUTHENTICATED- the user is not authenticated.- $code - See the error reference for details.
- $code - See the error reference for details.
- $code - See the error reference for details.
Exchange example
Request
documentId: changeMasterPassword
{
"documentId": "changeMasterPassword",
"variables": {
"currentPassword": "password123",
"newPassword": "newPassword123",
"confirmPassword": "newPassword123",
"pin": "1234"
}
}
Response
200 OK
{
"data": {
"changeMasterPassword": {
"success": true
}
}
}
Related types
Change game account password
changeGameAccountPassword
Description
This operation is documented in the sections below.
Input
| Input field | Type | Required | Description |
|---|---|---|---|
accountLogin | String! | ✓ | Game account login |
currentPassword | String! | ✓ | Current account password. |
newPassword | String! | ✓ | New password |
confirmPassword | String! | ✓ | New password confirmation |
pin | String | - | Confirmation PIN code. |
Result
Response type - OperationResult.
Errors
UNAUTHENTICATED- the user is not authenticated.- $code - See the error reference for details.
- $code - See the error reference for details.
- $code - See the error reference for details.
Exchange example
Request
documentId: changeGameAccountPassword
{
"documentId": "changeGameAccountPassword",
"variables": {
"accountLogin": "GameLogin",
"currentPassword": "password123",
"newPassword": "newPassword123",
"confirmPassword": "newPassword123",
"pin": "1234"
}
}
Response
200 OK
{
"data": {
"changeGameAccountPassword": {
"success": true
}
}
}
Related types
Reset game account password
forgotGameAccountPassword
Description
This operation is documented in the sections below.
Input
| Field | Type | Required | Description |
|---|---|---|---|
accountLogin | String! | ✓ | Game account login |
pin | String | - | Confirmation PIN code. |
Result
Response type - OperationResult.
Errors
UNAUTHENTICATED- the user is not authenticated.- $code - See the error reference for details.
- $code - See the error reference for details.
- $code - See the error reference for details.
Exchange example
Request
documentId: forgotGameAccountPassword
{
"documentId": "forgotGameAccountPassword",
"variables": {
"accountLogin": "GameLogin",
"pin": "1234"
}
}
Response
200 OK
{
"data": {
"forgotGameAccountPassword": {
"success": true
}
}
}