SSH tunnels
Update an SSH tunnel
POST
/ssh-tunnels/{uuid}Updates an existing SSH tunnel by UUID. You can modify the name, host, port, and username. Changes will mark associated pipelines as having undeployed changes.
Authorizations
AuthorizationstringheaderrequiredAPI key passed as a Bearer token in the Authorization header.
Request
curl --request POST \
--url https://api.artie.com/ssh-tunnels/{uuid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"host": "<string>",
"name": "<string>",
"port": 123,
"username": "<string>"
}'Path parameters
uuidstringrequired
Body
application/json
hoststringrequirednamestringrequiredportintegerrequiredusernamestringrequired
Responses
200OKapplication/json
companyUUIDstring<uuid>requiredcreatedAtstring<date-time>environmentUUIDstring<uuid>requiredhoststringrequiredisInUseboolean | nullnamestringrequiredportintegerrequiredpublicKeystringrequiredupdatedAtstring<date-time>usernamestringrequireduuidstring<uuid>required
400Bad Request
500Internal Server Error
200 OK
{
"companyUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"environmentUUID": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"host": "<string>",
"isInUse": true,
"name": "<string>",
"port": 123,
"publicKey": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"username": "<string>",
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Was this page helpful?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.