Delete IPs from Group
Endpoint
DELETE /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
Same structure as Add IPs. See Add IPs to Group for field descriptions.
Important Notes
- Only the specified IPs are removed
- IPs not in the group are ignored (no error)
ipListmust not be empty (empty list returns 400)
Response
Success Response (200 OK)
{
"status": "SUCCESS",
"deploymentResult": {
"success": true,
"responseTime": 1500,
"detailList": [
{
"envName": "production",
"success": true,
"detail": "Deployed successfully",
"responseTime": 450
}
]
}
}
Error Response (400 Bad Request)
{
"status": "FAILURE",
"resultMessage": "ipList value can not be empty!"
}
or
{
"status": "FAILURE",
"resultMessage": "IP Group (AllowedIPs) is not found!"
}
cURL Example
curl -X DELETE \
"https://demo.apinizer.com/apiops/projects/MyProject/ipGroups/AllowedIPs/ips/" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"ipList": [
"192.168.1.100",
"10.0.0.0/8"
]
}'
Permissions
- User must have
GLOBAL_SETTINGS+MANAGEpermission in the project
Notes and Warnings
-
Selective Removal:
- Only the specified IPs are removed
- Other IPs remain in the group
-
Non-existent IPs:
- IPs not in the group are ignored (no error)
-
IP List Required:
ipListmust not be empty- At least one IP must be specified
Related Documentation
- Add IPs to Group - Add IPs to group
- Update IPs in Group - Replace all IPs in group