Update a machine
Redeploy a machine with updated configuration
POST
Path parameters
namespace
type: string
requiredThe namespace (user or organization) the machine belongs to.
name
type: string
requiredThe 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.