dcloud iam roles detach-policy

Detach a policy from a role

IAM iam:DetachRolePolicyChanges stateAsks before it deletes (-y skips)

Synopsis

dcloud iam roles detach-policy id policyId

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

  • <policyId>Required

    string

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

Example

dcloud iam roles detach-policy id policyId

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