Cloud Panel

Remove the public address

DELETE/api/v1/vms/{vm_uuid}/public-ip

The IPv4 and IPv6 go back and billing for them stops. Floating IPs on the server stay.

Parameters

NameInDescription
vm_uuidpath, stringrequiredServer id, from Create a VM or List VMs

Example request

curl -X DELETE "https://platform.serverscamp.com/api/v1/vms/$VM_UUID/public-ip" \
  -H "Authorization: Bearer $API_TOKEN"

Answer

Status 200 with this body.

FieldTypeDescription
public_ip_v4string, optionalPublic IPv4 address; null after a release
public_ip_v6string, optionalPublic IPv6 address; null after a release
{
  "public_ip_v4": null,
  "public_ip_v6": null
}

Errors

StatusWhen
401No token, or a token that is not valid
404No such server in your account
422The body or a parameter is not what the operation takes

Every operation can also answer 401 without a valid token. All errors