Web Server Instancing Controller
Create Web Server Clone
Path: /api/instance/web-server/clone-instances
Method: POST
Example Http Request
POST /api/instance/web-server/clone-instances HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Host: localhost:8080
Content-Length: 102
_csrf=QBu8emt3PcRQAMRcH9EdNHodJ0G5D6styhvtNiqk7DRPpOVHc3qMQ10UWPV9ZqVpJ_wpV0IpCniKaZgArCuPVEmc21d_wYZz
Example Http Response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: text/plain;charset=UTF-8
Content-Length: 1302
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
{
"id": 72953685,
"label": "web-server-master-test-clone-1",
"group": "Web-Servers",
"status": "offline",
"created": "2025-03-03T13:46:08",
"updated": "2025-03-03T13:46:08",
"type": "g6-nanode-1",
"ipv4": [
"139.162.215.126",
"192.168.148.16"
],
"ipv6": "2a01:7e00::f03c:95ff:fe40:5c0f/128",
"image": "linode/ubuntu24.04",
"region": "eu-west",
"site_type": "core",
"specs": {
"disk": 25600,
"memory": 1024,
"vcpus": 1,
"gpus": 0,
"transfer": 1000,
"accelerated_devices": 0
},
"alerts": {
"cpu": 90,
"network_in": 10,
"network_out": 10,
"transfer_quota": 80,
"io": 10000
},
"backups": {
"enabled": false,
"available": false,
"schedule": {
"day": null,
"window": null
},
"last_successful": null
},
"hypervisor": "kvm",
"watchdog_enabled": true,
"tags": [
"web-server",
"vc-game-server-test"
],
"host_uuid": "abe1b1a9deac4eb162c0341b8aa3c96f10a38590",
"has_user_data": false,
"placement_group": null,
"disk_encryption": "disabled",
"lke_cluster_id": null,
"capabilities": [
"SMTP Enabled"
]
}
Example Curl Request
$ curl 'http://localhost:8080/api/instance/web-server/clone-instances' -i -X POST \
-d '_csrf=QBu8emt3PcRQAMRcH9EdNHodJ0G5D6styhvtNiqk7DRPpOVHc3qMQ10UWPV9ZqVpJ_wpV0IpCniKaZgArCuPVEmc21d_wYZz'
Web Server Instancing Controller