---
title: "Deletes a specific primary IP set."
method: DELETE
path: "/ipsets/primary/{ipSetId}"
tags: ["primary ipset"]
---

# Deletes a specific primary IP set.

`DELETE /ipsets/primary/{ipSetId}`

## Request

- Base URL: `https://manager.digicertdns.com/v1`
- URL: `https://manager.digicertdns.com/v1/ipsets/primary/{ipSetId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/digicert/apis/digicert-dns/docs/ipsets/primary/:ipSetId/delete.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint deletes a specific primary IP set, allowing users to manage their network setup by removing IP sets that are no longer needed.</br></br>Key features include:</br></br>- **Clear success messaging:** Returns a `204` success code with a confirmation message indicating the successful completion of the requested action.</br>- **Efficient lifecycle management:** Facilitates the removal of a primary IP set, helping maintain a clean and organized system.</br>- **Targeted data deletion:** Utilizes the `ipSetId` parameter to delete the specified IP set, ensuring precise removal with enhanced control and accuracy.

## Path parameters

- `ipSetId` integer, required

## Response `204`

Primary IP set deleted successfully.

## Other responses

- `404`: Primary IP set not found

---

[API](https://skmtc.dev/digicert/apis/digicert-dns.md) - [All operations](https://skmtc.dev/digicert/apis/digicert-dns/llms.txt) - [OpenAPI document](https://skmtc.dev/digicert/apis/digicert-dns/revisions/c74fc728cff8?raw)
