---
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

## Changes

- **2026-01-13** `2b4db82ef885` — 2 warning
  - removed the request property `commencementDate`
  - removed the request property `registryId`
- **2026-01-09** `75eb25c6c016` — 1 breaking, 1 info
  - added the new required request property `commencementDate`
  - added the new optional request property `registryId`
- **2025-12-08** `2b4db82ef885` — 2 warning
  - removed the request property `commencementDate`
  - removed the request property `registryId`
- **2025-11-18** `75eb25c6c016` — 4 warning
  - removed the optional property `security` from the response with the `400` status
  - removed the optional property `security` from the response with the `403` status
  - removed the optional property `security` from the response with the `404` status
  - removed the optional property `security` from the response with the `500` status
- **2025-07-17** `ae162f3b8695` — 4 info
  - added the optional property `security` to the response with the `400` status
  - added the optional property `security` to the response with the `403` status
  - added the optional property `security` to the response with the `404` status
  - added the optional property `security` to the response with the `500` status

[Change history](https://skmtc.dev/beis/apis/mets-api-documentation/changes/v1.0/aviation/accounts/:id/post.md)

---

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