Skip to content

ezgh iam policies detach

Detach a policy from a user, bot or group, or an EZGH SSO user or group.

Updated View as Markdown
ezgh iam policies detach <policy> (--user u | --bot b | --group g | --sso-user u | --sso-group g) [flags]

Detach one policy from a user, bot or group, leaving its other policies alone. What only it allowed stops at once, for the group’s members too. Detaching one that isn’t attached is an error.

--sso-user and --sso-group detach it from an EZGH SSO directory user or group instead.

Part of ezgh iam policies.

Examples

ezgh iam policies detach ReadOnlyAccess --bot deployer
ezgh iam policies detach console-users --sso-group engineering

Flags

Flag Type Default Description
--bot string a bot, by ID, slug or name
--group string a group, by ID, slug or name
--sso-group string an EZGH SSO directory group, by ID, slug or name
--sso-user string an EZGH SSO directory user, by ID, email or slug
--user string a user, by ID or email

This command also takes the global flags.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close