---
title: "Remove an alias from the bank"
method: DELETE
path: "/v1/default/banks/{bank_id}/aliases/{alias}"
tags: ["Banks"]
---

# Remove an alias from the bank

`DELETE /v1/default/banks/{bank_id}/aliases/{alias}`

## Request

- Base URL: `https://hindsight.vectorize.io` (the document declares no server; this is the origin it was published from)
- URL: `https://hindsight.vectorize.io/v1/default/banks/{bank_id}/aliases/{alias}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/vectorize/apis/hindsight-http-api/docs/v1/default/banks/:bank_id/aliases/:alias/delete.ts> (a function with typed inputs; its response is checked against the schema)

Stop an id reaching this bank. The bank and its memories are untouched; only the extra name goes away, and callers still using it get the same 404 (or new empty bank) they would have got before it existed.

## Path parameters

- `bank_id` string, required
- `alias` string, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- BankAliasesResponse: Response model for a bank's aliases.
  - `bank_id` string, required: The bank's own id, which an alias never replaces
  - `aliases` BankAliasEntry[], required: Extra ids that also reach this bank, the primary one first then oldest first
    - `alias` string, required
    - `primary` boolean: Whether this alias is shown in place of the bank's own id. Display only — the bank keeps its id, and everything that names a bank still uses it. At most one alias per bank can be primary, and none has to be.

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-04** `4fda98b75f63`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/vectorize/apis/hindsight-http-api/changes/v1/default/banks/:bank_id/aliases/:alias/delete.md)

---

[API](https://skmtc.dev/vectorize/apis/hindsight-http-api.md) - [All operations](https://skmtc.dev/vectorize/apis/hindsight-http-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vectorize/apis/hindsight-http-api/revisions/45e711cd0897?raw)
