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
- 201
- 400
- 401
- 403
- 404
Document created, URL follows
Response Headers
Bad request syntax or unsupported method
No permission -- see authorization schemes
Request forbidden -- authorization will not help
Nothing matches the given URI