Skip to main content
POST
/
v1
/
regions
/
{region}
/
compute
/
clusters
/
{clusterId}
/
nodes
/
{nodeId}
/
ssh
Node SSH access
const options = {method: 'POST'};

fetch('https://api.example.com/v1/regions/{region}/compute/clusters/{clusterId}/nodes/{nodeId}/ssh', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "success": true,
  "data": {
    "host": "<string>",
    "port": 22,
    "username": "<string>",
    "privateKey": "<string>",
    "expiresAt": "2023-11-07T05:31:56Z"
  }
}

Path Parameters

region
string
required

Region identifier

clusterId
string
required

Cluster identifier

nodeId
string
required

Node identifier

Response

200 - application/json

SSH access details

success
enum<boolean>
Available options:
true
data
object