Banks
Show this alias in place of the bank id
Changed onPresent the bank under one of its aliases. Purely cosmetic: the bank keeps its own bank_id, which every other part of the system — authorisation, metering, exports, audit logs — continues to use.
Promoting an alias demotes whichever one was shown before, so a bank is presented under at most one alias. Send primary: false to go back to showing its own id.
patch/v1/default/banks/{bank_id}/aliases/{alias}
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
aliasstring required
Headers
authorizationstring nullable
Request body
Response
Successful Response
Example response
{
"aliases": [
{
"alias": "user-123",
"primary": true
},
{
"alias": "legacy-user123",
"primary": false
}
],
"bank_id": "user123"
}Changes
- info
endpoint added
- info