Skip to content

changeCurrentUserPassword

Change the password for the current user.

Arguments

Argument Type Description
input (required) ChangeCurrentUserPasswordInput! Specifies the input required to change the current user's password.

Returns

Void

Sample

mutation ChangeCurrentUserPassword($input: ChangeCurrentUserPasswordInput!) {
  changeCurrentUserPassword(input: $input)
}
{
  "input": {
    "currentPassword": "example-string",
    "newPassword": "example-string"
  }
}
{
  "data": {
    "changeCurrentUserPassword": "example-string"
  }
}