update user

This block is part of the users group and was last modified in core v12.0.4.

update user v12.0.4

update the given user their information or password

In pins 4 + flow
  • flow
    flow
  • guid required v11.1.17
    value

    The documents GUID (unique ID) to update.

  • Password
    value

    New passsword, only available to the user itself (logged-in) or admins (manage_users enabled)

  • User Data
    mutations

    Extra data for the user account

  • expiry
    date

    The user will be deleted after this date

Out pins 3 + flow
  • flow
    flow
  • success v12.0.4
    condition
  • error v12.0.4
    value
  • User
    object

A typical wiring for update user: branch feeds the flow pin; set fields feeds the mutations pin; new object feeds the user pin; the flow out pin feeds branch; the function out pin wires to an execute block.

Studio canvas example for the update user block: typical wiring for update user.

Commonly used with

In production blueprints, this block is most often wired together with:

  • branch: wired in both directions with this block.
  • set fields: feeds into this block. Generates an array of mutations based on the given filled fields.
  • get fields: feeds into this block. Gets the selected fields from the given object.
  • new object: this block feeds into it. Builds a new object filled with the given fields.

Version history

Introduced in v12.0.4.

v11.1.17 This block or one of its pins was updated in v11.1.17, click here to see the release notes.
Back to users Return to the main group to view all sub-groups Back to user management Return to the group to view all blocks within this group