Deutsche Cloud Docs
DocumentationSign in
Documentation
/

Start here

  • Quickstart
  • Glossary
  • Console home
  • Projects
  • Tags, saved views & topology

Interfaces

  • API & CLI
  • CLI command reference
  • ews is now dcloud
  • Connect an AI assistant
  • Terraform & OpenTofu
  • SDKs

Services

  • Compute
  • Postgres
  • Managed Valkey
  • Managed MySQL
  • Document Database
  • Managed RabbitMQ
  • Managed Apache Kafka
  • Kubernetes
  • Client VPN
  • Site-to-site VPN
  • Privacy VPN
  • Apps
  • Object Storage
  • File Storage
  • Queues
  • Schedules
  • Event bus
  • AI models
  • Functions
  • Sandboxes
  • Email
  • DNS
  • Monitoring
  • Error Tracking
  • Git
  • CI/CD pipeline
  • Workflow syntax
  • GitHub Actions workflows
  • macOS runners
  • Load balancing
  • CDN, WAF and DDoS basics
  • Auto Scaling
  • Recipe: GitHub Actions runner pool
  • Container registry
  • npm registry
  • Identity
  • Audit log
  • Deleting your account
  • Billing
  • Cost explorer
  • Service quotas
  • Security Posture
  • Secrets
  • Keys (KMS)
  • Assistant

Compliance

  • Compliance overview
  • Sub-processors
  • Technical and organisational measures
  • Security whitepaper
  • Service level agreement

On this page

  • Synopsis
  • Arguments
  • Example

Related

  • DELETE /​iam/​api/​policies/​{id}
  • Edit or delete a policy
  1. Documentation
  2. Identity
  3. CLI
  4. Delete a policy
dcloud iam policies delete

Delete a policy

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

Synopsis

dcloud iam policies delete id

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Example

dcloud iam policies delete id

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

Related

  • DELETE /​iam/​api/​policies/​{id}
  • Edit or delete a policy