diff --git a/internal/cmd/commands/rolescmd/funcs.go b/internal/cmd/commands/rolescmd/funcs.go index 8c97ebfaea..b3e175c550 100644 --- a/internal/cmd/commands/rolescmd/funcs.go +++ b/internal/cmd/commands/rolescmd/funcs.go @@ -147,7 +147,7 @@ func (c *Command) extraHelpFunc(helpMap map[string]func() string) string { "", ` Adds grant scopes to a role given its ID. The "grant-scope-id" flag can be specified multiple times. Example:`, "", - ` $ boundary roles add-grant-scopes -id o_1234567890 -grant-scope-id "this" -grant-scope-id "children"`, + ` $ boundary roles add-grant-scopes -id r_1234567890 -grant-scope-id "this" -grant-scope-id "children"`, "", "", }) @@ -158,7 +158,7 @@ func (c *Command) extraHelpFunc(helpMap map[string]func() string) string { "", ` Sets the complete set of grant scopes on a role given its ID. The "grant-scope-id" flag can be specified multiple times. Example:`, "", - ` $ boundary roles set-grant-scopes -id o_1234567890 -grant-scope-id "this" -grant-scope-id "children"`, + ` $ boundary roles set-grant-scopes -id r_1234567890 -grant-scope-id "this" -grant-scope-id "children"`, "", "", }) @@ -169,7 +169,7 @@ func (c *Command) extraHelpFunc(helpMap map[string]func() string) string { "", ` Removes grant scopes from a role given its ID. The "grant-scope-id" flags can be specified multiple times. Example:`, "", - ` $ boundary roles remove-grant-scopes -id o_1234567890 -grant-scope-id "this" -grant-scope-id "children"`, + ` $ boundary roles remove-grant-scopes -id r_1234567890 -grant-scope-id "this" -grant-scope-id "children"`, "", "", }) diff --git a/website/content/docs/commands/roles/add-grant-scopes.mdx b/website/content/docs/commands/roles/add-grant-scopes.mdx index 0face6fded..085a0fc26c 100644 --- a/website/content/docs/commands/roles/add-grant-scopes.mdx +++ b/website/content/docs/commands/roles/add-grant-scopes.mdx @@ -14,7 +14,7 @@ You can specify multiple grant scopes per role. ## Example -This example adds a grant to a role with the ID `o_1234567890` in the current scope and any children scopes: +This example adds a grant to a role with the ID `r_1234567890` in the current scope and any children scopes: ```shell-session $ boundary roles add-grant-scopes -id r_1234567890 -grant-scope-id "this" -grant-scope-id "children"