dcloud ec2 machine-images deregisterDelete 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 idArguments
<id>Requiredstring
Also accepted as
--id. Constraints: /^ewi-[0-9a-f]{6,32}$/
Example
dcloud ec2 machine-images deregister idGenerated from the API description, the same one the API checks requests against and the CLI is built from.