Skip to main content

Passwords

This operation is documented in the sections below.

Change master account password​

MutationdocumentId: changeMasterPasswordauth: Bearer session

changeMasterPassword​

Description​

This operation is documented in the sections below.

Input​

Input fieldTypeRequiredDescription
currentPasswordString!✓Current password
newPasswordString!✓New password
confirmPasswordString!✓New password confirmation
pinString-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
}
}
}

Change game account password​

MutationdocumentId: changeGameAccountPasswordauth: Bearer session

changeGameAccountPassword​

Description​

This operation is documented in the sections below.

Input​

Input fieldTypeRequiredDescription
accountLoginString!✓Game account login
currentPasswordString!✓Current account password.
newPasswordString!✓New password
confirmPasswordString!✓New password confirmation
pinString-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
}
}
}

Reset game account password​

MutationdocumentId: forgotGameAccountPasswordauth: Bearer session

forgotGameAccountPassword​

Description​

This operation is documented in the sections below.

Input​

FieldTypeRequiredDescription
accountLoginString!✓Game account login
pinString-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
}
}
}