Update IP address
PATCH
https://api.vpsbg.eu/v1/ip-addresses/{id}This endpoint is used to update the IP address information.
Request
Path Params
id
string
required
Body Params application/json
ptr
required
Must be left empty if you want to remove it.
Any of
Example
{
"ptr": "example.com"
// for ipv6
//"ptr": {
// "2001:0000:130F:0000:0000:09C0:876A:130B": "example.com"
//}
}
Request samples
Responses
Successfully updated IP address.(200)
Successfully updated IP address.
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
id
integer
required
Example:
417
ip_address
string
required
The IP address.
Example:
87.120.37.46
prefix
integer
required
Examples:
3264
version
integer
required
Example:
4
type
string
required
Example:
public
main
boolean
required
ddos_protected
boolean
required
Whether the IP is DDoS protected or not.
floating_ip
boolean
required
Whether or not this IP is sold as a Floating IP.
ptr
object | null
optional
{IP_ADDRESS}
string
required
Example:
example.com
assigned_on
string
required
Datetime when the IP address was assigned to your account.
Example
Not configured
Last modified: 3 months ago