TypeScript
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" } }
Get SSH access credentials for a specific cluster node
Region identifier
Cluster identifier
Node identifier
SSH access details
true
Show child attributes
Was this page helpful?