Toggle SSH
kinsta.environments.ssh.toggleEnable or disable SSH/SFTP access for a Kinsta environment using its ID and a boolean flag.
Instructions
Enable or disable SSH/SFTP access for an environment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env_id | Yes | The environment ID | |
| is_enabled | Yes | Whether to enable (true) or disable (false) SSH |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||