User Editing (ssd api-management update user)

The ssd api-management update user command allows you to edit a user on Sensedia API Platform.

You can use the ssd api-management update user command or its shortened version ssd apim update user.

Usage

The ssd api-management update user command can be followed by flags with their respective arguments:

ssd api-management update user [flags]

If no flag is specified, the interactive mode will be activated.

# Updates a user
$ ssd (api-management | apim) update user someUserLogin --name "User's full name" --login "aNewUserLogin" --email "user@email.com" --addRoles "admin, API developer etc." --removeRoles "admin" --password "123@456" -y

# Updates a user using the interactive mode
$ ssd (api-management | apim) update user

Available flags

The following flags can be used with the ssd (api-management | apim) update user command:

Flag Type Description

-a, --addRoles

string

The roles you want to assign to the user

-e, --email

string

The user’s email

-h, --help

Displays help for the command

-l, --login

string

The user’s login

-n, --name

string

The user’s full name

-p, --password

string

Your API Platform password

-r, --removeRoles

string

The roles you want to remove from the user

-y, --yes

Skips the confirmation step

Global Flags

Flag

Type

Description

-c, --config

string

Configuration file (default: $HOME/.sensedia/config.json)

--profile

string

The configuration profile you want to use (default: "default")

--verbose

Lists all requests made by the command. It is possible to store this information in a TXT file instead of displaying it on the terminal. E.g.: $ ssd (api-management | apim) list apis --verbose 2> log.txt

Thanks for your feedback!
EDIT

Share your suggestions with us!
Click here and then [+ Submit idea]