ezgh iam bots update <bot> [--name n] [--groups g,…] [--add-groups g,…] [--remove-groups g,…] [--policies p,…] [flags]Rename a bot, change its groups, or replace its directly attached policies. Whole replaces (--name, --groups, --policies) are sent with the ETag ezgh read: if someone changed the bot in between, nothing is changed and ezgh says so; run it again.
Part of ezgh iam bots.
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--add-groups |
strings, comma-separated or repeated | add to these groups, leaving the others | |
--groups |
strings, comma-separated or repeated | the groups (IDs, slugs or names), replacing all current ones; “” for none | |
--name |
string | the new name | |
--policies |
strings, comma-separated or repeated | the policies, replacing all current ones; “” for none | |
--remove-groups |
strings, comma-separated or repeated | remove from these groups, leaving the others |
This command also takes the global flags.