---
title: "Updates an account"
method: PUT
path: "/v2/billing/accounts/{id}"
tags: ["Billing"]
---

# Updates an account

`PUT /v2/billing/accounts/{id}`

Updates a previously created account given its ID and updated content

## Path parameters

- `id` integer, required

## Request body

- object — Representation of a ninja billing Account request.
  - `code` string, required — Unique code used to identify the account.
  - `name` string, required — Display name of the account.
  - `description` string — Optional description of the account.

## Response `200`

Account successfully updated

- object — Representation of a ninja billing Account.
  - `id` integer
  - `code` string
  - `name` string
  - `description` string
  - `system` boolean

## Other responses

- `400` — System accounts can not be updated
- `403` — Forbidden - Insufficient permissions
- `404` — Account not found

---

[API](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0.md) · [All operations](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ninjarmm/ninjaone-public-api-2-0/revisions/753f26d46650/schema)
