Add trusted IP addresses to your allowlist. Once any IP is allowlisted, all requests from non-listed IPs are rejected with 403 Forbidden.
POST https://api.yativo.com/api/v1/ip
Requires an Idempotency-Key header. Confirm your server’s outbound IP before adding — adding a wrong IP could lock you out.
Request body
Array of IPv4 address strings to allowlist.
curl -X POST 'https://api.yativo.com/api/v1/ip' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: ip-add-001' \
-d '{
"new_ip": ["203.0.113.10", "198.51.100.5"]
}'
{
"message": "IP addresses whitelisted and added to firewall."
}