dcloud iam grants revokeTake a grant back and delete the policy it created
IAM iam:DetachUserPolicyChanges stateAsks before it deletes (-y skips)
Refuses any policy this endpoint did not create. The detach action checked is the one matching the principal holding it, and iam:DeletePolicy is checked as well.
Synopsis
dcloud iam grants revoke policyIdArguments
<policyId>Requiredstring
Also accepted as
--policy-id. Constraints: uuid
Example
dcloud iam grants revoke policyIdGenerated from the API description, the same one the API checks requests against and the CLI is built from.