setUserAttributes mutation updates the DATABASE-sourced attributes for an existing user. Use this to update persistent key-value pairs that control parameterized connections and row-level data access.
Signature
Arguments
SetUserAttributesInput!
required
Input object identifying the user and the new attribute set.
SetUserAttributesInput fields
[UserAttributeInput!]!
required
The complete new set of DATABASE-sourced attributes. This replaces all existing DATABASE-sourced attributes — include every attribute you want the user to have after the call, not just the ones you’re changing.
Response
ResponseStatus!
Indicates whether the operation succeeded. See ResponseStatus.
Usage example
Related articles
User attributes
Understand attribute sources and how they interact
Impersonate user
Pass transient attributes at session time
List users
Query users and inspect their current attributes

