Skip to content

Update SSH host

PUT
/ssh/db/host/{id}

Update SSH host configuration. Server: localhost:8081

Authorizations

bearerAuth
TypeHTTP (bearer)

Parameters

Path Parameters

id*

The SSH host identifier

Typeinteger
Required

Request Body

object

SSH private key file (optional)

Format"binary"

JSON string containing host data

Responses

OK

application/json
JSON
{
"id": 0,
"name": "string",
"ip": "string",
"port": 0,
"username": "string",
"folder": "string",
"tags": [
"string"
],
"pin": true,
"authType": "string",
"password": "string",
"key": "string",
"keyPassword": "string",
"keyType": "string",
"enableTerminal": true,
"enableTunnel": true,
"enableFileManager": true,
"defaultPath": "string",
"tunnelConnections": [
{
}
],
"createdAt": "string",
"updatedAt": "string"
}

Playground

Server
Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI