Requires an
Idempotency-Key header.Path parameters
integer
required
The ID of the allowlist record to update.
Request body
array
required
Array of IPv4 address strings to add to the existing allowlist.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
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."
}
Add more IP addresses to an existing allowlist record
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."
}
PUT https://api.yativo.com/api/v1/ip/{id}
Idempotency-Key header.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."
}
