updateUser Mutation
Updates the specified User object.
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 (UpdateUserInput!)
Argument | Type | Description |
---|---|---|
name | String | The user's preferred name. |
darkMode | Boolean | Designates whether the User has dark mode activated or not. |
darkModeSyncWithOs | Boolean | Designates whether dark mode should be derived from the operating system. |
role | ID | The role to associate with the User. |
phone | String | The preferred contact phone number for the User. |
featureFlags | String | |
avatarUrl | String | The URL for the avatar image. |
externalId | String | Allows for mapping an external entity to a Prismatic record. |
id | ID | The ID of the User to mutate. |
clientMutationId | String | A unique identifier for the client performing the mutation. |