delete-machine-user

subtitle

Delete a machine user.

version

0.9.66

Description

Deletes a machine user. This includes deleting all associated access keys and unassigning all roles and resource roles assigned to the machine user. The machine user is also removed from all groups it belongs to. If the call succeeds the machine user will not be able to use any access keys to access the CDP control plane. Note that user-sync is not triggered yet by this call and the caller must trigger that to ensure that the machine user loses access to all environments as soon as possible.

Synopsis

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

Options

--machine-user-name (string)

The name or CRN of the machine user to delete.

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

accessKeysDeleted -> (array)

The list of associated access key CRNs that were deleted.

item -> (string)

groupsModified -> (array)

The list of group CRNs from which the machine user has been removed.

item -> (string)

rolesUnassigned -> (array)

The list of role CRNs unassigned from the machine user.

item -> (string)

resourcesUnassigned -> (array)

The list of resource role assignments that have been unassigned from the machine user.

item -> (object)

Information about a resource assignment.

resourceCrn -> (string)

The assigned resource’s CRN.

resourceRoleCrn -> (string)

The assigned resource role CRN.

Form Factors

public, private