---
title: "Update Account Name"
method: PATCH
path: "/virtual_accounts/{id}/account_name"
tags: ["Virtual Accounts"]
---

# Update Account Name

`PATCH /virtual_accounts/{id}/account_name`

## Request

- Base URL: `https://sandbox.au-0000.api.assemblypay.com`
- URL: `https://sandbox.au-0000.api.assemblypay.com/virtual_accounts/{id}/account_name`
- Auth: none declared

Change the name of a _Virtual Account_.

## Path parameters

- `id` string, uuid, required

## Request body

- UpdateVirtualAccountAccountNameRequest
  - `account_name` string, required: A name given for a _Virtual Account_. This is used in CoP lookups.

## Response `202`

Accepted

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `500`: Internal Server Error

---

[API](https://skmtc.dev/hellozai/apis/virtual-accounts-and-payids.md) - [All operations](https://skmtc.dev/hellozai/apis/virtual-accounts-and-payids/llms.txt) - [OpenAPI document](https://skmtc.dev/hellozai/apis/virtual-accounts-and-payids/revisions/2c9e638dc4f4?raw)
