Skip to content

Update SSH server

Toggle SSH access for an app.

updateAppSshServer.jsssh_update.py
const sshServer = await client.apps.ssh.update("da_XYZ", {
  enabled: true, // false = disable SSH for this app
});
// Should return: {
console.log(sshServer.enabled);
server = client.apps.ssh.update(
    "da_XYZ",
    enabled=True,  # False = disable SSH for this app
)
# Should return: {
print(server.enabled)

Source: stackmachine/sdks examples.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close