assign-machine-user-role

subtitle

Assign a role to a machine user.

version

0.9.109

Description

Assign a role to a machine user. If the role is already assigned to the machine user the request will fail.

Synopsis

  assign-machine-user-role
--machine-user-name <value>
--role <value>
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--machine-user-name (string)

The machine user the role is assigned to. Can be the machine user’s name or CRN.

--role (string)

The role to assign to the machine user. Can be the role’s name or CRN.

--cli-input-json (string)

Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (boolean)

Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for --cli-input-json.

Output

Form Factors

public, private