btcintel

Revoke a key (ops)

DELETE /v1/keys/{id}
quién puede llamarla
Un operador
una persona: admin
qué cuesta
1 petición de la cuota
niveles y claves
cuán reciente
Nunca en caché
cada respuesta lleva la altura del índice y la del nodo
Herramienta MCP
Ninguna
En esta página

Parámetros

NombreDóndeTipoObligatorioQué hace
idrutaintegerobligatorioThe key's id.
reasonconsultastringopcionalWhy the key is revoked, kept with it; revoked by ops when none is given.

Qué responde

Revoked; the key stops resolving within a minute.

CampoTipoQué lleva
revokedintegerThe id of the key revoked.
reasonstringThe reason kept with it: the one given, or revoked by ops.
esquema
  • revoked integer — The id of the key revoked.
  • reason string — The reason kept with it: the one given, or revoked by ops.

Errores

EstadoCódigoCuándo
400invalid_inputMalformed input (invalid_input).
401unauthorizedunauthorized: the request does not say who makes it, or what it offers does not verify: no key or session where one is needed, or a password, a code, a passkey or a signed event that does not check. The message says what is missing.
404not_foundnot_found: what the path names is not known: not in the index (for a transaction, not in the node's mempool either), or no such record. The message says which.

Cada uno llega en el sobre de error único, y ninguno se guarda en caché: un error lleva Cache-Control: no-store.

Ejemplo

curl y jq, en cualquier shell.

curl -s -X DELETE https://api.btcintel.io/v1/keys/12 \
  -H "Authorization: Bearer $BTCINTEL_KEY" | jq

This route needs a key. Set BTCINTEL_KEY in your environment first: the snippet reads it from there and holds no key. The description above names the tiers the route takes.