---
title: "Update the aviation account"
method: POST
path: "/v1.0/aviation/accounts/{id}"
tags: ["Aviation account update"]
---

# Update the aviation account

`POST /v1.0/aviation/accounts/{id}`

## Path parameters

- `id` integer, required

## Request body

- AviationAccountUpdateDTO — The aviation account fields
  - `name` string, required
  - `sopId` integer
  - `crcoCode` string, required
  - `location` LocationOnShoreStateDTO
    - `type` 'ONSHORE' | 'OFFSHORE' | 'ONSHORE_STATE', required
    - `line1` string, required
    - `line2` string
    - `city` string, required
    - `state` string
    - `postcode` string
    - `country` string, required

## Response `204`

No Content

## Other responses

- `400` — Bad Request Error Code | Description FORM1001 | Form validation failed ACCOUNT1001 | Account name already exists ACCOUNT1012 | Central route charges office number already related with another account ACCOUNT1013 | Registry Id is only submitted when emission trading scheme of the account is UK ETS Aviation
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/beis/apis/mets-api-documentation.md) · [All operations](https://skmtc.net/beis/apis/mets-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/beis/mets-api-documentation/revisions/c3a5c6052f25/schema)
