--- layout: docs page_title: roles update - Command description: |- The "roles update" command lets you update an existing role. --- # roles update Command: `roles update` The `roles update` command lets you update an existing role. ## Example This example updates a role with the ID `r_1234567890` to add the name `devops` and the description `Role for DevOps`: ```shell-session $ boundary roles update -id r_1234567890 -name "devops" -description "Role for DevOps" ``` ## Usage ```shell-session $ boundary roles update [options] [args] ``` ### Command options - `-description=` - The description to set on the role. - `-grant-scope-id=` - The scope ID for any grants set on the role. - `-id=` - The ID of the role you want to update. - `-name=` - The name to set on the role. - `-version=` - The version of the role you want to update. If you do not specify a version, the command performs a check-and-set automatically. @include 'cmd-option-note.mdx'