Set Ports Server
Changed onSet the ports to use for DDoS protection.
post/servers/{id}/protection/ports
Request
- Base URLhttps://app.bitlaunch.io/api
- URLhttps://app.bitlaunch.io/api/servers/{id}/protection/ports
- AuthAPI key in header Authorization
Path parameters
idstring required
The id of the server to set ports on.
Request body
Response
200
Example response
{
"id": "aaaaaaaaaaabbbbbbbbbbbbb",
"name": "bitlaunch-debian-lon1-nibble-1024",
"host": 4,
"ipv4": "25.25.25.25",
"region": "lon1",
"size": "nibble-4096",
"sizeDescription": "Nibble-4096",
"image": "20000",
"imageDescription": "OpenVPN (OpenVPN)",
"created": "2020-10-12T11:22:05.493Z",
"rate": 60,
"bandwidthAllowance": 1000000000000,
"status": "ok",
"version": "2.0.0",
"diskGB": 100,
"protection": {
"enabled": true,
"proxy": {
"ip": "40.40.40.40",
"region": "bvm-lux",
"ports": [
{
"portNumber": 1234,
"protocol": "tcp"
}
],
"target": "25.25.25.25"
}
}
}Changes
- info
endpoint added
- info