Environments
Save Start Hook
Persists and activates the supplied script as the start hook for the environment. Empty content clears the active start hook. Editing a start hook does not invalidate the warm pool — the new content is picked up automatically on the next claim, since start hooks run at workspace boot rather than during warming.
post/v1/environments/{environmentId}/start-hooks/save
Path parameters
environmentIdstring required
Environment UUID, or the literal string global.
Request body
Response
Start hook saved and activated, or cleared when content is empty
Changes
No recorded changes to this endpoint across all 1 revision of this API.