Check whether the given IP addresses are free in a location
post
Authorizations
defguard_sessionstringRequired
Path parameters
network_idinteger · int64Required
ID of the network.
Body
device_idinteger · int64 · nullableOptional
ipsstring[]Required
Responses
200
Availability of the requested IP addresses.
application/json
object[]Optional
400
Location not found.
application/json
401
Session is missing or invalid.
application/json
403
Requires admin privileges.
application/json
500
Unable to check IP availability.
application/json
post/api/v1/device/network/ip/{network_id}
POST /api/v1/device/network/ip/{network_id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 33
{
"device_id": null,
"ips": [
"text"
]
}[
{
"available": true,
"valid": true
}
]Last updated
Was this helpful?