---
title: "Update transport"
method: POST
path: "/transports/{id}"
tags: ["Administration"]
---

# Update transport

`POST /transports/{id}`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/transports/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/transports/:id/post.ts> (a function with typed inputs; its response is checked against the schema)

Update a new transport.

## Path parameters

- `id` string, required: The unique ID of the resource.

## Request body

- object
  - `port` integer: A port number is a 16-bit unsigned integer, thus ranging from 0 to 65535. For TCP, port number 0 is reserved and cannot be used, while for UDP, the source port is optional and a value of zero means no port
  - `verification` 'DISABLE' | 'OPTIONAL' | 'MANDATORY': Indicates if PBX wishes (Optional) or requires (Mandatory) TLS clients to present a client certificate: - `DISABLE`: disable client certificate. - `OPTIONAL`: client authentication optional. - `MANDATORY`: force client authentication.

## Response `200`

OK

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
