Time Portal Sandbox API

Remove a file

Remove a file or an empty directory, or a directory and everything under it with recursive. A non-empty directory without recursive is a 400.

DELETE/v1/time-portal/sandbox/{id}/files
curl "https://api.epochal.com/v1/time-portal/sandbox/sbx_7f3k9q2m4x8p1c6w/files?path=%2Fhome%2Fepochal%2Fout%2Fresult.csv" \
  -X DELETE \
  -H "x-api-key: $EPOCHAL_API_KEY"

Removed.

No response body

Read the Time Portal Sandbox API guide

A sandbox is a Linux virtual machine whose clock and network are set to an instant.

Authorizations

x-api-key

x-api-keystringRequired

Send your API key in the x-api-key header. Create keys in the console; each belongs to one organization.

Example

"ek_…"

Path parameters

idstringRequired

Unique sandbox ID.

Example

"sbx_7f3k9q2m4x8p1c6w"

Query parameters

pathstringRequired

Absolute path inside the sandbox.

Example

"/home/epochal/out/result.csv"
recursiveboolean

Recursively remove a directory and its contents; when false, only removes a file or empty directory.