* docs: Update meta content - CLI * docs: Edits for consistency * docs: More edits for consistency * Apply batch of suggestions from code review Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com> * Apply batch suggestions from code review Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com> * docs: Remove given id references * Update read.mdx * Update read.mdx --------- Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com>
91 lines
2.0 KiB
Plaintext
91 lines
2.0 KiB
Plaintext
---
|
|
layout: docs
|
|
page_title: groups update - Command
|
|
description: >-
|
|
The "groups update" command updates an existing group resource.
|
|
---
|
|
|
|
# groups update
|
|
|
|
Command: `boundary groups update`
|
|
|
|
The `groups update` command lets you update an existing group's information.
|
|
|
|
## Examples
|
|
|
|
In this example, an existing group (`g_9SpLKOoTse`) has the following details:
|
|
|
|
<CodeBlockConfig hideClipboard>
|
|
|
|
```plaintext
|
|
Group information:
|
|
Created Time: Thu, 24 Aug 2023 13:58:50 PDT
|
|
Description: Support engineering group
|
|
ID: g_9SpLKOoTse
|
|
Name: support
|
|
Updated Time: Thu, 24 Aug 2023 13:58:50 PDT
|
|
Version: 3
|
|
|
|
...snip...
|
|
```
|
|
|
|
</CodeBlockConfig>
|
|
|
|
The following command updates the group's `description` and `version`:
|
|
|
|
```shell-session
|
|
$ boundary groups update -id g_9SpLKOoTse \
|
|
-description "Customer support for product XXX" \
|
|
-version 4
|
|
```
|
|
|
|
**Example output:**
|
|
|
|
<CodeBlockConfig hideClipboard highlight="3,7">
|
|
|
|
```plaintext
|
|
Group information:
|
|
Created Time: Thu, 24 Aug 2023 13:58:50 PDT
|
|
Description: Customer support for product XXX
|
|
ID: g_9SpLKOoTse
|
|
Name: support
|
|
Updated Time: Thu, 24 Aug 2023 14:33:18 PDT
|
|
Version: 4
|
|
|
|
Scope:
|
|
ID: o_R0wbo0H6Zl
|
|
Name: quick-start-org
|
|
Parent Scope ID: global
|
|
Type: org
|
|
|
|
Authorized Actions:
|
|
no-op
|
|
read
|
|
update
|
|
delete
|
|
add-members
|
|
set-members
|
|
remove-members
|
|
```
|
|
|
|
</CodeBlockConfig>
|
|
|
|
## Usage
|
|
|
|
<CodeBlockConfig hideClipboard>
|
|
|
|
```shell-session
|
|
$ boundary groups update [options] [args]
|
|
```
|
|
|
|
</CodeBlockConfig>
|
|
|
|
### Command options
|
|
|
|
- `-description` `(string: "")` - The description to set on the group.
|
|
- `-id` `(string: "")` - The ID of the group to update.
|
|
- `-name` `(string: "")` - The name to set on the group.
|
|
- `-version` `(string: "")` - The version of the group to update.
|
|
If you do not specify a version, the command performs a check-and-set automatically.
|
|
|
|
@include 'cmd-option-note.mdx' |