Update a machine
Redeploy a machine with updated configuration
POST
Path parameters
namespace type: string (required)
The namespace (user or organization) the machine belongs to.
name type: string (required)
The machine name.
Body parameters
setup_commands type: string[]
List of setup commands to run on redeploy. For example, ["pip install -r requirements.txt", "npm install"].
setup_script type: string
A setup script to run on redeploy. Replaces the existing setup script.
envs type: object
Environment variables to set in the machine, as key-value pairs. Replaces all existing environment variables.