---
title: "Update Account"
method: PATCH
path: "/external/accounts/{account_id}"
tags: ["External Backends"]
---

# Update Account

`PATCH /external/accounts/{account_id}`

## Request

- Base URL: `https://api.chutes.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.chutes.ai/external/accounts/{account_id}`
- Auth: API key in header `Authorization`

## Path parameters

- `account_id` string, required

## Headers

- `X-Chutes-Hotkey` string, nullable
- `X-Chutes-Signature` string, nullable
- `X-Chutes-Nonce` string, nullable
- `Authorization` string, nullable

## Request body

- ExternalBackendAccountUpdate
  - `name` string, nullable
  - `base_url` string, uri, nullable
  - `credentials` object, nullable
  - `remove_credentials` string[]
  - `auth_header_templates` ExternalAuthHeaderTemplate[], nullable
    - `name` string, required
    - `template` string, required
    - `references` object, required
  - `connection_config` object, nullable
  - `enabled` boolean, nullable

## Response `200`

Successful Response

- string

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `23e8895b217d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/chutes/apis/fastapi/changes/external/accounts/:account_id/patch.md)

---

[API](https://skmtc.dev/chutes/apis/fastapi.md) - [All operations](https://skmtc.dev/chutes/apis/fastapi/llms.txt) - [OpenAPI document](https://skmtc.dev/chutes/apis/fastapi/revisions/8add5b0e22da?raw)
