Skip to content

Edit User

The Edit User task updates the properties of an existing user account. Provide at least one identifier (id, login, or email) to target the user. Only the fields you populate will be changed — fields left as null are not modified.

Configuration

PropertyTypeDescription
dry_runbooleanRun without executing task effects
idstringInternal user ID — provide one of id, login, or email to identify the target user
loginstringUsername
emailstringEmail address
namestringUpdated first name (null = no change)
surnamestringUpdated last name (null = no change)
scopesarrayReplace the user's full scope set (null = no change)
add_groupsarrayGroup IDs to add the user to
remove_groupsarrayGroup IDs to remove the user from
unlock_userbooleanSet to true to unlock a locked account
fail_if_not_foundbooleanFail if no matching user is found
output_variablestringVariable name to store the updated user object (e.g. "ucs.user")

See also: Tasks overview

S-Launch