ArchiveScript
PUT/api/v1/workspaces/:workspace_id/scripts/:script_id_or_ref/archive
Archives a script. Archived scripts are hidden from default listings and cannot be run (neither manually nor by schedule). This operation is idempotent.
Requires WRITE permission on the workspace level.
Request
Responses
- 200
- 400
- 401
- 403
- 404
Request fulfilled, document 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