---
title: "Update an account for a company"
method: PUT
path: "/accounts/{accountId}"
tags: ["Accounts"]
deprecated: true
---

# Update an account for a company

`PUT /accounts/{accountId}`

> **Deprecated.**

## Path parameters

- `accountId` string, required

## Request body

- AccountCreationRequest
  - `accountNumber` string — Account number
  - `name` string — Description of this account
  - `taxCodeId` string — unique Tax Code ID
  - `accountCategoryId` string — unique Category ID of the account
  - `hidden` boolean — Is the account hidden/archived for the user

## Response `200`

An account has been returned

- AccountResponse
  - `id` string, required — The unique UUID identifier of the account
  - `accountNumber` string — Account number
  - `taxCodeId` string — unique Tax Code ID
  - `name` string, required — Description of this account
  - `accountCategoryId` string, required — unique Category ID of the account
  - `hidden` boolean, required — Is the account hidden/archived for the user

## Other responses

- `400` — validation error
- `401` — request unauthorized
- `403` — Request forbidden; user has insufficient rights to a resource.
- `404` — An account does not exist or does not match the company
- `500` — Something went wrong. Please contact the administrator if problems persist.

---

[API](https://skmtc.net/pleo/apis/gjoll-api.md) · [All operations](https://skmtc.net/pleo/apis/gjoll-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pleo/gjoll-api/versions/c70cd21dc330/schema)
