Huddle01 Cloud
Instances

Delete instance

Delete an instance and its related storage.

DELETE
/instances/{id}
x-api-key<token>

In: header

Path Parameters

idstring

Unique identifier of the instance.

Query Parameters

regionstring

Region code where the resource exists (e.g., eu2).

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://cloud.huddleapis.com/api/v1/instances/inst_12345?region=eu2"
{
  "message": "Operation successful"
}
{
  "message": "Bad request",
  "error": {
    "code": "BAD_REQUEST",
    "message": "Invalid request body",
    "type": "client"
  },
  "timestamp": "2024-03-18T10:22:00Z"
}
{
  "message": "Unauthorized",
  "error": {
    "code": "UNAUTHORIZED",
    "message": "x-api-key header missing",
    "type": "auth"
  },
  "timestamp": "2024-03-18T10:22:00Z"
}
{
  "message": "Internal server error",
  "error": {
    "code": "INTERNAL_ERROR",
    "message": "Failed to create instance",
    "type": "server"
  },
  "timestamp": "2024-03-18T10:22:00Z"
}