workspace-code-execution-policy

Clear Workspace Code Execution Policy

Changed on

Drop a workspace's policy, returning it to the deployment's behavior.

Idempotent: a workspace that has no policy is already in the state this asks for, so it answers with the unconfigured policy rather than a 404.

delete/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

Response

Successful Response

allowed_imagesstring[] required
available_toolsstring[] required
configuredboolean required
created_atstring nullable required
default_enabledboolean required
default_purpose_hintstring nullable required
enabledboolean required
exec_timeout_sinteger nullable required
executor'auto' | 'otari' | 'provider' required

Who runs the code a request's code-execution tool asks for.

Values are read without regard to case or surrounding whitespace.

imagestring nullable required
max_iterationsinteger nullable required
sandbox_configuredboolean required
toolsstring[] nullable required
updated_atstring nullable required
workspace_idstring uuid required

Changes