---
title: "Delete instance"
method: DELETE
path: "/preview/v2/instances/{id}"
tags: ["Instances"]
---

# Delete instance

`DELETE /preview/v2/instances/{id}`

> ⚠️ This endpoint is in [public preview](/preview/roadmap).

Delete an instance.

## Path parameters

- `id` string, required — A resource path like 'sfc:instance:acme:prod:my-instance' _or_ an ID. Resource paths are human-readable but not stable - they change when resources are renamed or moved. IDs are stable and permanent.

## Response `204`

Instance deleted.

## Other responses

- `401` — Unauthorized.
- `404` — Instance not found.
- `409` — Instance must be terminated before deletion.
- `500` — Internal server error.

---

[API](https://skmtc.net/sfcompute/apis/san-francisco-compute-documentation.md) · [All operations](https://skmtc.net/sfcompute/apis/san-francisco-compute-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sfcompute/san-francisco-compute-documentation/versions/93dd7661e9bb/schema)
