Get information about private networks and network settings

Retrieve detailed information about the private networks associated with your account, including default settings and any limitations. It returns a unique ID that may be needed for subsequent actions related to network configuration or other services.

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
GET https://cloud.hostup.se/api/private-networks
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/private-networks" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "networks": [
      "string"
    ],
    "defaults": {
      "rackId": "string",
      "vlanRange": {
        "min": 0,
        "max": 0
      },
      "superblock": "string",
      "parentMask": 0,
      "childMask": 0
    },
    "limits": {
      "privateNetworks": {
        "limit": 0,
        "used": 0,
        "available": 0,
        "approvedLimit": "string",
        "pendingRequest": "string"
      }
    }
  }
}