Skip to main content

gns3util role update

Update a role

Synopsis

Update an RBAC role.
gns3util role update [role-name/id] [flags]

Examples

gns3util -s https://controller:3080 role update my-role --name new-name --description new-description

Options

  -d, --description string   Description for the role
  -h, --help                 help for update
  -n, --name string          Desired name for the role
  -j, --use-json string      Provide a raw JSON string to send instead of flags

Options inherited from parent commands

  -c, --cluster string    Cluster name from keyfile. Mutually exclusive with --server
  -i, --insecure          Ignore unsigned SSL-Certificates. Can be set via GNS3_INSECURE
  -k, --key-file string   Path to authentication keyfile. Can be set via GNS3_KEY_FILE or config.toml
  -o, --output string     Output format: [json, json-colorless, collapsed, yaml, toml, table, table-ascii]. Can be set via GNS3_OUTPUT (default "table")
  -s, --server string     GNS3v3 Server URL. Can be set via GNS3_SERVER or config.toml

SEE ALSO

Auto generated by spf13/cobra on 24-Mar-2026