cURL
curl --request DELETE \ --url https://sbx-{sandbox_id}-{workspace_id}.{region}.bl.run/filesystem/tree/{path} \ --header 'Authorization: Bearer <token>'
{ "message": "File created successfully", "path": "/path/to/file" }
Delete a directory tree recursively
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Root directory path
Delete directory recursively
Directory deleted successfully
"File created successfully"
"/path/to/file"
Was this page helpful?