---
title: "Delete a JWK set"
method: DELETE
path: "/v2/jwkSets/{jwkSetId}"
tags: ["jwkSets"]
---

# Delete a JWK set

`DELETE /v2/jwkSets/{jwkSetId}`

## Request

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

Delete every key in a JWK set, including the currently active key, if one exists.

### Usage notes
- To perform this operation, you must use API credentials owned by a user assigned the Admin account type.
- There is no way to check whether a connection still references this `jwkSetId`. Confirm nothing depends on this set before deleting it.

### Usage scenarios
- **Cleanup:** Remove a set that was provisioned but never wired up to a connection.

## Path parameters

- `jwkSetId` string, required

## Response `200`

The response body.

- JwkSetsDeleteJwkSetResponse200

---

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