dcloud iam grants revoke

Take 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 policyId

Arguments

  • <policyId>Required

    string

    Also accepted as --policy-id. Constraints: uuid

Example

dcloud iam grants revoke policyId

Generated from the API description, the same one the API checks requests against and the CLI is built from.