CmdID / aws / aws organizations
aws organizations detach-policy
Detaches a policy from a target root, organizational unit (OU), or account. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--policy-idID for the policy you want to detach.--target-idID for the root, OU, or account that you want to detach the policy from.