---
title: "Delete one"
method: DELETE
path: "/v1/sii/keys/{sii_key_id}"
tags: ["SII Key"]
---

# Delete one

`DELETE /v1/sii/keys/{sii_key_id}`

## Request

- Base URL: `https://api.cardda.com`
- URL: `https://api.cardda.com/v1/sii/keys/{sii_key_id}`
- Auth: HTTP bearer

Deletes an SII key and its manager associations. Returns the id of the removed
key.

## Path parameters

- `sii_key_id` string, uuid, required

## Parameters

- `#/paths/~1v1~1sii~1keys/get/parameters/0` (unresolved $ref)

## Response `200`

The SII key was deleted.

- object
  - `id` string, uuid, required: UUID of the deleted SII key.

## Other responses

- `401`: Unauthorized — missing/invalid token, or the caller lacks `sii_keys_manage` and does not own the key. Auth is by key ownership or `sii_keys_manage` permission; the `company-id` header is not used to scope this operation. Empty body.
- `404`: SII key not found. Body: `{ "message": "Resource not found" }`.

---

[API](https://skmtc.dev/cardda/apis/internal-revenue-service-api.md) - [All operations](https://skmtc.dev/cardda/apis/internal-revenue-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cardda/apis/internal-revenue-service-api/revisions/22003ee905f0?raw)
