> ## 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 IP Group

> Deletes an IP Group specified by name. The group and all its IP addresses are permanently removed.

## Endpoint

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

## Authentication

Requires a Personal API Access Token.

### Header

```plaintext theme={null}
Authorization: Bearer YOUR_TOKEN
```

## Request

### Headers

| Header        | Value          | Required |
| ------------- | -------------- | -------- |
| Authorization | Bearer {token} | Yes      |

### Path Parameters

| Parameter   | Type   | Required | Description   |
| ----------- | ------ | -------- | ------------- |
| projectName | string | Yes      | Project name  |
| ipGroupName | string | Yes      | IP Group name |

### Request Body

None.

## Response

### Success Response (200 OK)

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

### Error Response (400 Bad Request)

```json theme={null}
{
  "error": "bad_request",
  "error_description": "IP Group (AllowedIPs) is not found!"
}
```

## cURL Example

```bash theme={null}
curl -X DELETE \
  "https://demo.apinizer.com/apiops/projects/MyProject/ipGroups/AllowedIPs/" \
  -H "Authorization: Bearer YOUR_TOKEN"
```

## Permissions

* User must have **`GLOBAL_SETTINGS` + `MANAGE`** permission in the project

## Notes and Warnings

* **Permanent Deletion**:
  * IP Group is permanently deleted
  * This action cannot be undone

* **IP Addresses**:
  * All IP addresses in the group are also removed

* **Policy References**:
  * Policies using this IP Group may need to be updated
  * Check for policy references before deletion

## Related Documentation

* [Create IP Group](/api-reference/ip-groups/crud/create-ip-group) - Create a new IP Group
* [Update IP Group](/api-reference/ip-groups/crud/update-ip-group) - Update an IP Group
