---
title: "Delete a workspace"
method: DELETE
path: "/workspaces/{id}"
tags: ["Workspaces"]
---

# Delete a workspace

`DELETE /workspaces/{id}`

## Request

- Base URL: `https://api.rendley.com/v1`
- URL: `https://api.rendley.com/v1/workspaces/{id}`
- Auth: API key in header `Authorization`

Delete a workspace and all of its contents (projects, brand kit, etc.). Only the
workspace owner can do this, and the user's last remaining workspace can't be deleted.

## Path parameters

- `id` string, required

## Response `200`

OK

- HttpResponseResponse
  - `data` unknown
  - `error` HttpResponseAPIError
    - `code` string
    - `fields` HttpResponseFieldError[]
      - `field` string
      - `message` string
    - `message` string
  - `meta` unknown

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden

---

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