Skip to main content
POST
Delete file(s)

Authorizations

Authorization
string
header
required

JWT authentication token

Query Parameters

project_id
string<uuid>

Optional project ID for project-scoped sandbox files

sandbox
string

Route file operations to a specific sandbox (cloud or a self-hosted display name / hostname). When omitted, the Neo-managed cloud sandbox is used. Self-hosted sandboxes require an explicit selection.

Body

application/json
key
string
required

File key or directory path to delete

recursive
boolean
default:false

If true and key is a directory, delete all files recursively

Response

File(s) deleted

deleted_count
integer
deleted_files
string[]
error
string
message
string
success
boolean