PATCH
/
v1
/
ssh-tunnels
/
{id}
curl --request PATCH \
  --url https://api.sequin.io/v1/ssh-tunnels/8ff58ef0-d376-4ae8-b2e2-9f0206aa65b8 \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --data '{
    "host": "3.12.95.2",
    "user": "sequin",
    "port": 22
  }'
[
  {
  "id": "8ff58ef0-d376-4ae8-b2e2-9f0206aa65b8",
  "host": "3.12.95.2",
  "user": "sequin",
  "port": 22
  }
]

Request parameters

host
string

The ssh host.

user
string

The ssh user.

port
int

The port to connect to the ssh host. Typically ssh hosts are on port 22.

Response fields

id
string

ID of the ssh token.

host
string

The ssh host.

user
string

The ssh user.

port
int

The port to connect to the ssh host. Typically ssh hosts are on port 22.