---
title: "Update Abacus Account"
method: PATCH
path: "/abacus-accounts/{account_id}"
tags: ["integrations"]
---

# Update Abacus Account

`PATCH /abacus-accounts/{account_id}`

## Request

- Base URL: `https://app.zeno-works.ch` (the document declares no server; this is the origin it was published from)
- URL: `https://app.zeno-works.ch/abacus-accounts/{account_id}`
- Auth: none declared

Partial update of an Abacus account (accountant/owner). Password re-encrypted if
supplied, never returned. A company user's ``base_url`` must be https on a public address.

## Path parameters

- `account_id` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Request body

- AbacusAccountUpdate: ``PATCH /abacus-accounts/<id>`` body (admin) — partial update. ``service_password`` is write-only; supplying it re-encrypts the stored secret. Unset fields are not modified.
  - `label` string, nullable
  - `base_url` string, nullable
  - `mandant` string, nullable
  - `interface_version` string, nullable
  - `service_user` string, nullable
  - `service_password` string, nullable
  - `fetch_journal` boolean, nullable
  - `fetch_invoices` boolean, nullable
  - `fetch_documents` boolean, nullable
  - `poll_batch_cap` integer, nullable
  - `feeds_config` object, nullable
  - `enabled` boolean, nullable
  - `allow_private_host` boolean, nullable

## Response `200`

Successful Response

- AbacusAccountResponse: ``GET/POST/PATCH /abacus-accounts/...`` → ``{"abacus_account": ...}``.
  - `abacus_account` AbacusAccountOut, required: Serialized abacus account (no secret); includes feed toggles + per-feed state.
    - `id` string, required
    - `company_id` string, required
    - `label` string, required
    - `enabled` boolean, required
    - `base_url` string, required
    - `mandant` string, required
    - `interface_version` string, required
    - `service_user` string, required
    - `fetch_journal` boolean, required
    - `fetch_invoices` boolean, required
    - `fetch_documents` boolean, required
    - `poll_batch_cap` integer, nullable
    - `feeds_config` object, nullable
    - `sync_state` object, nullable
    - `allow_private_host` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zeno-works/apis/zeno-api.md) · [All operations](https://skmtc.dev/zeno-works/apis/zeno-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zeno-works/apis/zeno-api/revisions/1eb93dde146c?raw)
