Request
Body Params application/jsonRequired
{
"sandbox_id": "302-sandbox-xxxx",
"operation": "remove",
"original_path": "/home/user/workspace/ai302-chd0h1xc6y/1.png"
}
Request Code Samples
curl --location --request POST 'https://api.302.ai/v1/302/claude-code/sandbox/file/operation' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"sandbox_id": "302-sandbox-xxxx",
"operation": "remove",
"original_path": "/home/user/workspace/ai302-chd0h1xc6y/1.png"
}'
Responses
application/json {
"success": true,
"operation": "remove",
"target_path": "/home/user/workspace/ai302-chd0h1xc6y/1_move.png",
"original_path": "/home/user/workspace/ai302-chd0h1xc6y/1_move.png"
}
Modified at 2025-12-19 11:49:24