---
title: "Switch off one of this account's keys."
method: DELETE
path: "/v1/keys/{hash_prefix}"
tags: ["account"]
---

# Switch off one of this account's keys.

`DELETE /v1/keys/{hash_prefix}`

## Request

- Base URL: `https://api.japanfold.aiand.com`
- URL: `https://api.japanfold.aiand.com/v1/keys/{hash_prefix}`
- Auth: one of:
  - none
  - HTTP bearer

`hash_prefix` is the non-secret prefix GET /v1/account lists per key. Scoped to the caller's own account.

## Path parameters

- `hash_prefix` string, required

## Response `200`

Revoked

## Other responses

- `400`: Invalid request
- `401`: Unauthorized
- `404`: Not found

---

[API](https://skmtc.dev/aiand/apis/japanfold-api.md) · [All operations](https://skmtc.dev/aiand/apis/japanfold-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aiand/apis/japanfold-api/revisions/9f4be813b447?raw)
