docs: Update `id` field for grants (#4292)

* docs: Update `id` field for grants

* docs: Fix typos
pull/4288/head^2
Dan Heath 2 years ago committed by GitHub
parent 5dbf57ebfa
commit a4d5552085
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -36,7 +36,10 @@ $ boundary roles add-grants [options] [args]
You can specify grants in compact string format or JSON.
If you use JSON, be sure to escape it properly.
You can optionally specify multiple grants.
- `-id=<string>` - The ID of the role you want to add grants to.
- `-ids=<string>` - The IDs of the roles you want to add grants to.
You can specify one or more IDs.
If you specify multiple IDs using text, use commas to separate the IDs.
If you specify multiple IDs using JSON, use an array.
- `-version=<int>` The version of the role to add grants to.
If you do not specify a version, the command performs a check-and-set automatically.

@ -36,7 +36,10 @@ $ boundary roles remove-grants [options] [args]
You can specify grants in compact string format or JSON.
If you use JSON, be sure to escape it properly.
You can optionally specify multiple grants.
- `-id=<string>` - The ID of the role you want to remove grants from.
- `-ids=<string>` - The IDs of the roles you want to remove grants from.
You can specify one or more IDs.
If you specify multiple IDs using text, use commas to separate the IDs.
If you specify multiple IDs using JSON, use an array.
- `-version=<int>` - The version of the role you want to remove grants from.
If you do not specify a version, the command performs a check-and-set automatically.

@ -37,7 +37,10 @@ $ boundary roles set-grants [options] [args]
You can specify grants in compact string format or JSON.
If you use JSON, be sure to escape it properly.
You can optionally specify multiple grants.
- `-id=<string>` - The ID of the role you want to set grants on.
- `-ids=<string>` - The IDs of the roles you want to set grants on.
You can specify one or more IDs.
If you specify multiple IDs using text, use commas to separate the IDs.
If you specify multiple IDs using JSON, use an array.
- `-version=<int>` The version of the role to set grants on.
If you do not specify a version, the command performs a check-and-set automatically.

Loading…
Cancel
Save