---
title: "Rename a destination"
method: POST
path: "/updateBankingDestination"
tags: ["Banking"]
---

# Rename a destination

`POST /updateBankingDestination`

## Request

- Base URL: `https://laso.finance`
- URL: `https://laso.finance/updateBankingDestination`
- Auth: API key in header `Authorization`

Sets or clears a destination's nickname. This is the only editable field: bank details are immutable at the partner, so anything else wrong means deleting the recipient and creating a new one.

A Firebase callable. Callables wrap the request in `{"data": ...}` and the reply in `{"result": ...}`. Send the `id_token` from `/auth` as a Bearer token. Free.

## Request body

- object
  - `data` object, required
    - `userId` string, required: The Laso user id (the `usr_...` value from /auth).
    - `destinationId` string, required: The destination to rename.
    - `nickname` string, required: The new nickname. An empty string clears it.

## Response `200`

Confirmation.

- object
  - `result` object

## Other responses

- `400`: A required field is missing or invalid.
- `401`: Missing, invalid, or expired Bearer token.
- `403`: The caller is not this user and is not an admin.

---

[API](https://skmtc.dev/laso/apis/laso-finance-x402-api.md) · [All operations](https://skmtc.dev/laso/apis/laso-finance-x402-api/llms.txt) · [OpenAPI document](https://skmtc.dev/laso/apis/laso-finance-x402-api/revisions/ff8ce20b49ba?raw)
