Authorization: Bearer ********************
{
"ptr": "example.com"
// for ipv6
//"ptr": {
// "2001:0000:130F:0000:0000:09C0:876A:130B": "example.com"
//}
}
curl --location --request PATCH 'https://api.vpsbg.eu/v1/ip-addresses/' \
--header 'Accept;' \
--header 'Content-Type: application/json' \
--data-raw '{
"ptr": "example.com"
// for ipv6
//"ptr": {
// "2001:0000:130F:0000:0000:09C0:876A:130B": "example.com"
//}
}'
{
"id": 417,
"ip_address": "87.120.37.46",
"prefix": 32,
"version": 4,
"type": "public",
"main": true,
"ddos_protected": true,
"floating_ip": {
"id": 205,
"status": "active",
"ip": "87.120.37.47",
"server_id": 2478,
"expiry": "2023-07-31T21:00:00.000000Z",
"ddos": 0
},
"ptr": {
"{IP_ADDRESS}": "example.com"
},
"assigned_on": "string"
}