Skip to main content

changePassword Mutation

Allows the signed-in User to change their password.

Access is permitted when any of the following condition(s) are met: 1. The specified object is the signed-in User. 2. The signed-in User has any of the following permissions for the associated Organization: [org_admin_users] when a value for 'customer' does not exist on the object. 3. The signed-in User has any of the following permissions for the object's 'customer' attribute: [customer_admin_users] when a value for 'customer' exists on the object. 4. The signed-in User has any of the following permissions for the associated Organization: [org_admin_customer_permissions, org_manage_customers] when a value for 'customer' exists on the object.

Input fields (ChangePasswordInput!)#

ArgumentTypeDescription
currentPasswordString!The current password.
newPasswordString!The new password.
clientMutationIdStringA unique identifier for the client performing the mutation.

Return fields (ChangePasswordPayload)#

clientMutationId (String)#
errors ([ErrorType!]!)#
user (User)#