Skip to main content

CreateOrUpdateScript

POST 

/api/v1/workspaces/:workspace_id/scripts

Creates or updates a script for a workspace. The script is keyed by job_ref within the workspace. Every write creates a new ScriptVersion (the highest version is the active one). Scripts define entry points for the currently active deployment and can be archived to prevent scheduled runs or public endpoint access.

Requires WRITE permission on the organization level.

Request

Responses

Document created, URL follows

Response Headers