---
title: "Delete a JSON Web Key"
method: DELETE
path: "/v2/jwkSets/{jwkSetId}/jsonWebKeys/{jsonWebKeyId}"
tags: ["jwkSets"]
---

# Delete a JSON Web Key

`DELETE /v2/jwkSets/{jwkSetId}/jsonWebKeys/{jsonWebKeyId}`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/jwkSets/{jwkSetId}/jsonWebKeys/{jsonWebKeyId}`
- Auth: HTTP bearer

Delete a single JSON Web Key from a set.

### Usage notes
- To perform this operation, you must use API credentials owned by a user assigned the Admin account type.
- The currently active key cannot be deleted. Activate a different key first.

### Usage scenarios
- **Key rotation:** Remove a retired key once its rotation overlap window has passed.

## Path parameters

- `jwkSetId` string, required
- `jsonWebKeyId` string, required

## Response `200`

The response body.

- JwkSetsDeleteJsonWebKeyResponse200

---

[API](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api.md) - [All operations](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/revisions/fb6036208c49?raw)
