Add IPs to Group
Endpoint
POST /apiops/projects/{projectName}/ipGroups/{ipGroupName}/ips/
Authentication
Requires a Personal API Access Token.
Header
Authorization: Bearer YOUR_TOKEN
Request
Headers
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer {token} | Yes |
| Content-Type | application/json | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| ipGroupName | string | Yes | IP Group name |
Request Body
Full JSON Body Example - Single IP Address
{
"ipList": [
"192.168.1.100"
]
}
Full JSON Body Example - Multiple IP Addresses
{
"ipList": [
"192.168.1.100",
"192.168.1.101",
"10.0.0.50"
]
}
Full JSON Body Example - IP Addresses and CIDR Ranges
{
"ipList": [
"192.168.1.100",
"10.0.0.0/8",
"172.16.0.0/12",
"192.168.0.0/16"
]
}
Request Body Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| ipList | array[string] | Yes | - | List of IP addresses or CIDR ranges to add |
IP Address Formats
- Individual IP addresses:
192.168.1.100 - CIDR ranges:
10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 - IPv4 format only
Notes
ipListmust not be empty- IPs are added to the existing list
- Duplicate IPs are ignored (not added twice)
- IP addresses and CIDR ranges can be mixed