---
title: "Clears multiple primary domains."
method: POST
path: "/domains/primary/bulk/delete"
tags: ["domains - primary"]
---

# Clears multiple primary domains.

`POST /domains/primary/bulk/delete`

## Request

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

This endpoint clears multiple primary domains simultaneously, streamlining the removal process for multiple domains.</br></br>Key features include:</br></br>- **Bulk clearing support:** Enables the clearing of multiple primary domains in a single request, simplifying and streamlining bulk management processes while retaining record structures.</br>- **Clear success messaging:** Returns a `204` success code with a confirmation message indicating the successful completion of the requested action.</br>- **Comprehensive error handling:** Returns a `400` error code with a clear description when requests fail.</br>- **Efficient lifecycle management:** Facilitates the removal of primary domains, helping maintain a clean and organized system.

## Request body

- integer[]

## Response `204`

Primary domains cleared successfully.

## Other responses

- `400`: Request is malformed or invalid.

---

[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)
