> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apinizer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete IPs from Group

> Removes specific IP addresses or CIDR ranges from an IP Group. Only the specified IPs are removed; other IPs remain in the group.

## Endpoint

```plaintext theme={null}
DELETE /apiops/projects/{projectName}/ipGroups/{ipGroupName}/ips/
```

## Authentication

Requires a Personal API Access Token.

### Header

```plaintext theme={null}
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](/api-reference/ip-groups/ips/add-ips-to-group) for field descriptions.

### Important Notes

* Only the specified IPs are removed
* IPs not in the group are ignored (no error)
* Empty list will result in no changes

## Response

### Success Response (200 OK)

```json theme={null}
{
  "success": true
}
```

### Error Response (400 Bad Request)

```json theme={null}
{
  "error": "bad_request",
  "error_description": "ipList value can not be empty!"
}
```

## cURL Example

```bash theme={null}
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` + `MANAGE`** permission 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**:
  * `ipList` must not be empty
  * At least one IP must be specified

## Related Documentation

* [Add IPs to Group](/api-reference/ip-groups/ips/add-ips-to-group) - Add IPs to group
* [Update IPs in Group](/api-reference/ip-groups/ips/update-ips-in-group) - Replace all IPs in group
