dcloud iam users detach-policy

Detach a policy from a user

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

Synopsis

dcloud iam users 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 users detach-policy id policyId

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