---
layout: docs
page_title: scopes update - Command
description: |-
The "scopes update" command lets you update an existing scope.
---
# scopes update
Command: `scopes update`
The `scopes update` command lets you update an existing scope.
## Example
This example updates a scope with the ID `o_1234567890` to include the name `devops` and the description `Scope for DevOps`:
```shell-session
$ boundary scopes update -id o_1234567890 -name "devops" -description "Scope for DevOps"
```
## Usage
```shell-session
$ boundary scopes update [options] [args]
```
### Command options
- `-description=` - The description to set on the scope.
- `-id=` - The ID of the scope to update.
- `-name=` - The name to set on the scope.
- `-primary-auth-method-id=` - The primary auth method ID for the scope.
The primary auth method is allowed to create users on the initial login.
It is also used as a source for the account full name and email used for the scope's users.
- `-version=` - The version of the scope to update.
If you do not specify a version, the command performs a check-and-set automatically.
@include 'cmd-option-note.mdx'