---
search:
  tags:
    - Sandboxes
    - DELETE
seo:
  description: >-
    Stops and removes the sandbox. Removing a stopped sandbox succeeds.
    Reference for the DELETE /v1/sandboxes/{id} endpoint in the Ibby API.
sidebar:
  label: Stop and remove a sandbox
  badge: DELETE
title: Stop and remove a sandbox
type: openapi-operation
---
Stops and removes the sandbox. Removing a stopped sandbox succeeds.

`DELETE /v1/sandboxes/{id}`

**Responses**

- `204` — Removed.
- `400` — \`invalid\_request\`: The request does not match the contract.
- `401` — \`unauthorized\`: The API key is missing, unknown or revoked.
- `404` — \`not\_found\`: No such resource in this key's lane. Another lane's ids are not found either.
- `500` — \`internal\_error\`: The platform failed. A retry may succeed; for a call that creates or writes, retry with the same Idempotency-Key.
- `503` — \`unavailable\`: A service behind the API could not be reached. Retry after a short wait; for a call that creates or writes, with the same Idempotency-Key.
