EndpointsRemove files

Sandboxes

Remove files

Removes files, and directories when recursive is true. Missing paths are ignored. Requires files. Commands and file operations need an ACTIVE sandbox; on any other state they answer 409.

POST/sandboxes/{id}:removeFiles
Authorizationstringheaderrequired

Bearer token for the authenticated caller.

Optional workspace/scope context for the request. Carries a single workspace wire id (ws_…) today. Only needed for broad tokens - a workspace-owned token implies its workspace.

Required string length: 1 - 53

Example: "ws_j572abc123def4"

idstringrequired

Sandbox id (sbx_...).

Pattern: ^sbx_[A-Za-z0-9]{1,64}$

Example: "sbx_j572abc123def456"

Body

application/json
pathsstring[]required

Required array length: 1 - 100 elements

recursivebooleandefault:false

Response

<No Content>

No response body.