All error codes

interface_not_removable

HTTP 409 The primary network interface cannot be removed

What happened

You asked to delete `net0`, the interface the server was created with. It cannot be removed - a server without it has no network at all.

What to do

Leave `net0` in place. If you no longer want the network behind it, change that interface's network with `PATCH /v1/servers/{id}/network-interfaces/net0` instead of deleting it.

Retrying

Repeating this request will not help.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/interface_not_removable",
    "title": "The primary network interface cannot be removed",
    "status": 409,
    "code": "interface_not_removable",
    "request_id": "a277dcd1ca652c65"
}

Branch your code on code, never on the wording of title.