Skip to main content
Append additional IP addresses to your existing allowlist record. This operation adds to the existing list — it does not replace it.
PUT https://api.yativo.com/api/v1/ip/{id}
Requires an Idempotency-Key header.

Path parameters

id
integer
required
The ID of the allowlist record to update.

Request body

new_ip
array
required
Array of IPv4 address strings to add to the existing allowlist.
curl -X PUT 'https://api.yativo.com/api/v1/ip/1' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: ip-update-001' \
  -d '{
    "new_ip": ["203.0.113.20", "198.51.100.10"]
  }'
{
  "message": "IP addresses updated and added to firewall."
}