---
title: "Delete HITL keypair and archive the config"
method: DELETE
path: "/api/v1/hitl/{id}/keys"
tags: ["HITL"]
---

# Delete HITL keypair and archive the config

`DELETE /api/v1/hitl/{id}/keys`

## Request

- Base URL: `https://api.proof.holdings`
- URL: `https://api.proof.holdings/api/v1/hitl/{id}/keys`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `auth_token`

Removes the keypair AND archives the HITL configuration, then system-denies every pending confirmation on it. Existing ciphertexts become permanently unreadable — there is no historical keyring, so this cannot be undone by re-uploading the same key. This is not a reversible detach: treat it as decommissioning the config.

## Path parameters

- `id` string, required: HITL config id

## Response `200`

Keypair deleted and configuration archived

- object
  - `message` string, required

## Other responses

- `404`: not_found (no ACTIVE HITL config with this id) or no_keypair (the config has no keypair to delete)

---

[API](https://skmtc.dev/proof/apis/proof-holdings-api.md) · [All operations](https://skmtc.dev/proof/apis/proof-holdings-api/llms.txt) · [OpenAPI document](https://skmtc.dev/proof/apis/proof-holdings-api/revisions/b15f506de696?raw)
