---
title: "Delete a KeySet"
method: DELETE
path: "/v2/control-planes/{controlPlaneId}/core-entities/key-sets/{KeySetId}"
tags: ["KeySets"]
---

# Delete a KeySet

`DELETE /v2/control-planes/{controlPlaneId}/core-entities/key-sets/{KeySetId}`

Delete a KeySet

## Path parameters

- `KeySetId` string, required

## Response `204`

Successfully deleted KeySet or the resource didn't exist

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.dev/kong/apis/konnect-api.md) · [All operations](https://skmtc.dev/kong/apis/konnect-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kong/konnect-api/revisions/72502a676a92/schema)
