network_in_use

HTTP 409

Private network is in use

Type URL

https://developer.hostup.se/errors/network_in_use

Detail message

Remove and retire all child subnets before deleting the private network.

Example response

{
  "type": "https://developer.hostup.se/errors/network_in_use",
  "title": "Private network is in use",
  "status": 409,
  "detail": "Remove and retire all child subnets before deleting the private network.",
  "code": "network_in_use",
  "instance": "/api/v2/...",
  "requestId": "req_abc123",
  "timestamp": "2026-04-27T12:00:00.000Z"
}

Endpoints that may return this error

Handling this error

const response = await fetch(url, options);

if (!response.ok) {
  const problem = await response.json();

  if (problem.code === "network_in_use") {
    // Handle: Private network is in use
    console.error(problem.detail);
  }
}