Documentation

CLI Reference

eg users

eg users update

Description

Update a single user.

Usage

eg users update <user_id|user_name> [options]

Options

Name, longform Type Default Description
-p, --property string   User property in the form [-p ‘foo=bar’]
-q, --quiet boolean false Only show user ID

Extended description

The properties associated with a user are specified in the model config. See detailed description here: Consumer Management

Examples

Update a user with prompts

$ eg users update ksmith
? Enter a value for firstname: Karen
? Enter a value for lastname: Smith
? Enter a value for email: [email protected]
? Enter a value for redirectUri: https://ksmith.example.com/cb
✔ Updated ksmith

Update a user with properties

$ eg users update ksmith -p 'firstname=Karen' -p '[email protected]'
✔ Updated ksmith

Update a user with quiet mode

$ eg users update ksmith -p 'firstname=Karen' -p '[email protected]' -q
010566fb-6cf5-4bce-a7b1-1be85fb0969a