workspace-code-execution-policy
Set Workspace Code Execution Policy
Changed onSet a workspace's code-execution policy, replacing any existing one.
An organization owner/admin, or an owner/admin of this workspace, may write it. The policy can only narrow what the deployment permits: turning code execution off for the workspace, lowering the loop and execution ceilings, and removing tool kinds from what the sandbox backend serves. It never turns a sandbox the deployment has not configured on, and image may only name one the operator curated (allowed_images on the response reports the set); anything else is refused with 400.
put/api/v1/workspaces/{workspace_id}/code-execution-policy
Request
- The document declares no server URL.
- Auth: one of:
- API key in header Otari-Key
- API key in header x-api-key
Path parameters
workspace_idstring uuid required
Request body
Response
Successful Response
Changes
- info
added the required property
to the response with the status
- info
- info
added the optional property
to the response with the status
- info