You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
customerChangeMyPasswordMutation
Portion of the GraphQL query used in the customerChangeMyPassword API endpoint
customerChangeMyPasswordMutation = "\n mutation customerChangeMyPassword(
$version: Long!,
$currentPassword: String!,
$newPassword: String!,
$storeKey: KeyReferenceInput
) {\n user: customerChangeMyPassword(version: $version,
currentPassword: $currentPassword,
newPassword: $newPassword,
storeKey: $storeKey) {\n ...DefaultCustomer\n }\n }\n"