cURL
curl --request POST \ --url https://api.cloud.onidel.com/network/ip_lists/{ip_list_id}/entries \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "value": "192.168.1.0/24", "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "ipv4" } '
{ "entry": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "ipv4", "value": "192.168.1.0/24", "created_at": "2023-11-07T05:31:56Z" } }
Add an IP address or CIDR to an IP list. Type is auto-detected if not provided. Supports IPv4 and IPv6 addresses and CIDR ranges. The /0 prefix is not allowed.
/0
Provide the value as: Token <your-api-token>
Token <your-api-token>
IP List UUID
IPv4 or IPv6 address/CIDR. Type is auto-detected.
"192.168.1.0/24"
Optional - auto-detected from value if not provided
ipv4
ipv6
Entry added successfully
Show child attributes