DokumentationAPI Reference
Netzwerk
Port-Allocations auflisten und zusätzliche Ports anfordern.
GET
/servers/:id/networkAlle Netzwerk-Allocations (Ports) des Servers auflisten.
curl "https://www.mado-hosting.com/api/v1/servers/srv_abc123/network" \
-H "Authorization: Bearer rsk_your_key"POST
/servers/:id/networkNeue Port-Allocation erstellen (Portbereich: 25500–25600).
Limit-checked: Port-Limit: min(10, Plan-Limit)
Body-Parameter
| Name | Type | Required | Description |
|---|---|---|---|
notes | string | No | Notiz für den Port (max 255 Zeichen) |
curl -X POST "https://www.mado-hosting.com/api/v1/servers/srv_abc123/network" \
-H "Authorization: Bearer rsk_your_key" \
-H "Content-Type: application/json" \
-d '{ "notes": "Dynmap" }'