---
title: "Clears multiple API keys."
method: POST
path: "/accessmanagement/api-key/bulk/delete"
tags: ["accessmanagement - api keys"]
---

# Clears multiple API keys.

`POST /accessmanagement/api-key/bulk/delete`

## Request

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

This endpoint clears multiple API keys simultaneously, saving users time when revoking access in bulk during cleanups or incident responses.</br></br>Key features include:</br></br>- **Bulk clearing support:** Enables the clearing of multiple API keys in a single request, simplifying and streamlining bulk credential management.</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 `400` and `404` error codes with clear descriptions when requests fail.</br>- **Efficient lifecycle management:** Facilitates the removal of API keys, helping maintain a clean and organized system.

## Request body

- string[]

## Response `204`

API keys cleared successfully.

## Other responses

- `400`: Request is malformed or invalid.
- `404`: Resource 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)
