---
title: "Delete a workspace and everything in it (owner only)"
method: DELETE
path: "/workspaces/{id}"
tags: ["workspaces"]
---

# Delete a workspace and everything in it (owner only)

`DELETE /workspaces/{id}`

## Request

- Base URL: `https://api.swingfactor.ai/v1`
- URL: `https://api.swingfactor.ai/v1/workspaces/{id}`
- Auth: HTTP bearer

Any subscription it has is cancelled first; if that fails, nothing is deleted.

## Path parameters

- `id` string, uuid, required

## Response `204`

No content.

## Other responses

- `401`: No token, or not a valid one: `unauthorized`.
- `403`: Owner only.

---

[API](https://skmtc.dev/swingfactor/apis/swingfactor-api.md) · [All operations](https://skmtc.dev/swingfactor/apis/swingfactor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/swingfactor/apis/swingfactor-api/revisions/c2fe881a39c3?raw)
