unassign-user-role

subtitle

Unassign a role from a user.

version

0.9.126

Description

Unassign a role from a user. If the role is not currently assigned to the user the request will fail.

Synopsis

  unassign-user-role
--user <value>
--role <value>
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--user (string)

The user to unassigned the roles from. Can be the user CRN or id.

--role (string)

The role to unassigned from the user. Can be the role’s CRN or name.

--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