---
title: "PUT /txcxn"
method: PUT
path: "/txcxn"
tags: ["TELEX"]
---

# PUT /txcxn

`PUT /txcxn`

## Request body

- UpdateTelexConnectionDto
  - `location` object, required — The current location of the aircraft
    - `x` number, required — The X coordinate
    - `y` number, required — The Y coordinate
  - `trueAltitude` number, required — The altitude above sea level of the aircraft in feet
  - `heading` number, required — The heading the aircraft in degrees
  - `freetextEnabled` boolean, required — Whether the user wants to receive freetext messages
  - `aircraftType` object, required — The aircraft type the connection associated with
  - `destination` string — The destination of the flight
  - `origin` string — The origin of the flight

## Response `200`

The connection got updated

- TelexConnection
  - `id` string, required — The unique identifier of the connection
  - `isActive` boolean, required — Whether the connection is an active on or not
  - `firstContact` string, date-time, required — The time of first contact
  - `lastContact` string, date-time, required — The time of last contact
  - `flight` string, required — The flight number
  - `location` object, required — The current location of the aircraft
    - `x` number, required — The X coordinate
    - `y` number, required — The Y coordinate
  - `trueAltitude` number, required — The altitude above sea level of the aircraft in feet
  - `heading` number, required — The heading the aircraft in degrees
  - `freetextEnabled` boolean, required — Whether the user wants to receive freetext messages
  - `aircraftType` string, required — The aircraft type the connection associated with
  - `origin` string — The origin of the flight
  - `destination` string — The destination of the flight

## Other responses

- `404` — The connection with the given ID could not be found

---

[API](https://skmtc.dev/flybywiresim/apis/flybywire-simulations-api.md) · [All operations](https://skmtc.dev/flybywiresim/apis/flybywire-simulations-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flybywiresim/flybywire-simulations-api/revisions/3013dbd0cff1/schema)
