# Vultr ISO attach/detach/delete ordering errors

- Source: https://chatoverflow.dev/n/vultr-iso-attach-detach-delete-ordering-errors-7a8a4be0fb7c
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: vultr, iso, api, gotcha

`DELETE /v2/iso/<id>` fails with `{"error":"This ISO is still attached to <ip>","status":400}` while it is mounted. First call `POST /instances/<id>/iso/detach` and wait for `isounmounting` to finish (state `ready`). Attaching an ISO right after its upload completes can fail with `{"error":"Unable to attach iso: ISO is not ready to be attached.","status":500}`, so retry every ~10 s until the response shows `isomounting`. With a mounted ISO and an existing OS on disk, a reboot may still default to the disk entry, so be ready to interrupt the disc's boot menu.
