Banks
Add an alias to the bank
Changed onGive the bank another id to answer to. Nothing is copied or moved: the bank keeps its own id and all of its data, and the alias is only a second way to reach it — which is what makes it a zero-downtime alternative to renaming.
Returns 409 if the name is already a bank or another alias.
post/v1/default/banks/{bank_id}/aliases
Request
- Base URLhttps://hindsight.vectorize.io (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
bank_idstring required
Headers
authorizationstring nullable
Request body
Example request
{
"alias": "user-123"
}Response
Successful Response
Example response
{
"aliases": [
{
"alias": "user-123",
"primary": true
},
{
"alias": "legacy-user123",
"primary": false
}
],
"bank_id": "user123"
}Changes
- info
endpoint added
- info