---
title: "Changes to Creates a new Code and returns it with the generated ID."
method: PUT
path: "/code"
---

# Changes to Creates a new Code and returns it with the generated ID.

`PUT /code`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 123 revisions.

- **2026-10-05** `d951959b83e4`: 1 info
- **2026-10-05** `3bdfd02830b1`: 1 info
- **2026-09-11** `0f410bc28e15`: 1 info
- **2026-07-16** `bd1187f3520e`: 2 info
- **2026-04-13** `fbbe054a012a`: 1 breaking, 3 info

## Changes

- **2026-10-05** `d951959b83e4`: 1 info
  - api tag `mcp` removed
- **2026-10-05** `3bdfd02830b1`: 1 info
  - api operation id `create_new_code` removed and replaced with `create_code`
- **2026-09-11** `0f410bc28e15`: 1 info
  - api tag `mcp` added
- **2026-07-16** `bd1187f3520e`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-04-13** `fbbe054a012a`: 1 breaking, 3 info
  - the response property `description` became optional for the status `200`
  - the request property `description` became optional
  - the `description` request property default value `` was added
  - the `description` response's property default value `` was added for the status `200`

---

[Operation](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/docs/code/put.md) - [API](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api.md) - [Page](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/changes/code/put)
