> ## Documentation Index
> Fetch the complete documentation index at: https://docs.occtoo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# UpdateApiVersionInput

> Holds the changes to an API version. Fields you leave null or empty keep their value.



**Kind**: `input`

## Fields

**`allowedOrigins`**: `[OriginInput!]`

New allowed origins; they replace the current ones.

---

**`defaultLanguage`**: `String`

New default output language, one of the `value`s in `languages`.

---

**`destinationId`**: `ID!` (required)

Global id of the version's destination (`Destination.id`).

---

**`etag`**: `Etag`

Value of `etag` you last read. A stale one fails the update.

---

**`id`**: `ID!` (required)

Global id of the version (`ApiVersion.id`).

---

**`languages`**: `[KeyValuePairOfStringAndStringInput!]`

New language mappings, shaped as in `ApiVersion.languages`; they replace the current ones. A change raises `revision`.



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.