dcloud ec2 machine-images deregister

Delete the provider snapshot and mark the image deregistered

IAM ec2:DeregisterImageChanges stateAsks before it deletes (-y skips)

The row survives in the `deregistered` state — instances point at it — so this is not a delete. A platform base image is refused with 409.

Synopsis

dcloud ec2 machine-images deregister id

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: /^ewi-[0-9a-f]{6,32}$/

Example

dcloud ec2 machine-images deregister id

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