Skip to main content

diagrid user update

Update an existing user

diagrid user update <userId> [flags]

Examples


# Create an existing user
diagrid users update example-user-id --name my-user --role diagrid:viewer

Options

      --api-key string   Diagrid Cloud API key
--debug Enable debug mode
-h, --help help for update
-n, --name string Name
-o, --output string Output format, supported [table, yaml, json] (default "table")
-r, --role string User role (Conductor roles: diagrid:admin, diagrid:editor, diagrid:viewer or scoped roles diagrid:viewer:clusters:<clusterid>) (Catalyst roles: cra.diagrid:admin, cra.diagrid:editor, cra.diagrid:viewer)

SEE ALSO