Actions24
- Code Interpreter Actions
- Command Actions
- File Actions
- Sandbox Actions
- Snapshot Actions
Sandbox → Kill
AI-generatedSummary
Destroys a Declaw Firecracker microVM sandbox by ID by sending a DELETE request to the Declaw API.
Inputs
- Sandbox ID (required) — ID of the sandbox to destroy (e.g. sbx-a1b2c3d4). It is inserted into the request path /sandboxes/{sandboxId}, so it can be set with an expression from an earlier Create or List step.
Output shape
One output item per input item, containing the JSON body returned by the Declaw API for the DELETE call.
The source does not define the response body, so its exact fields depend on the API. An empty response may yield an empty item. If the API call fails (e.g. unknown ID), the node throws an error, unless 'Continue on Fail' is enabled. In that case it outputs {error: message} for that item. The node runs once per input item, so each item needs its own sandbox ID.
Examples
Example 1: Clean up a sandbox after running commands in a workflow.
Resource: Sandbox, Operation: Kill, Sandbox ID: ={{ $('Create Sandbox').item.json.sandbox_id }}
Example 2: Manually destroy a known sandbox.
Resource: Sandbox, Operation: Kill, Sandbox ID: sbx-a1b2c3d4