Skip to content

Delete a sandbox

View .md
DELETE

Stop it if it is running, charge the run up to now, and delete the machine and its disk. This cannot be undone. Works with test-mode keys and on any plan, so a team that left its paid plan can still clean up.

Authorization

  • Authorizationheaderrequired

    Bearer YOUR_API_KEY. Create a key in the dashboard.

Path parameters

  • sandboxIdstringrequired

    Sandbox ID.

Responses

204Deleted.
401Unauthorized.
  • codestringrequired
  • messagestringrequired
  • detailsobject
404Sandbox not found, or it belongs to another project.
  • codestringrequired
  • messagestringrequired
  • detailsobject
503`sandbox_unavailable`: no machine capacity right now. Nothing was charged for machine time; retry shortly.
  • codestringrequired
  • messagestringrequired
  • detailsobject