---
title: "Edit Account"
method: PUT
path: "/accounts/{account_id}"
tags: ["accounts"]
---

# Edit Account

`PUT /accounts/{account_id}`

## Request

- Base URL: `https://api.verdun.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.verdun.ai/accounts/{account_id}`
- Auth: HTTP bearer

## Path parameters

- `account_id` string, uuid, required

## Request body

- EditAccountRequest
  - `name` string, required: The name of the account (the client's customer).
  - `primary_contact_name` string, nullable: Primary contact's name at the account.
  - `primary_contact_phone` string, nullable: Primary contact's phone number at the account.
  - `primary_contact_email` string, nullable: Primary contact's email address at the account.
  - `notes` string, nullable: Free-form notes about the account.

## Response `200`

Successful Response

- EditAccountResponse
  - `id` string, uuid, required: Unique identifier of the account.
  - `parent_id` string, uuid, required: The client (parent) this account belongs to.
  - `name` string, required: Name of the account (the client's customer).
  - `primary_contact_name` string, nullable: Primary contact's name at the account.
  - `primary_contact_phone` string, nullable: Primary contact's phone number at the account.
  - `primary_contact_email` string, nullable: Primary contact's email address at the account.
  - `notes` string, nullable: Free-form notes about the account.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/verdun/apis/verdun-api.md) - [All operations](https://skmtc.dev/verdun/apis/verdun-api/llms.txt) - [OpenAPI document](https://skmtc.dev/verdun/apis/verdun-api/revisions/a19366be50a3?raw)
