---
title: "Delete workspace"
method: DELETE
path: "/workspaces"
tags: ["Workspaces"]
---

# Delete workspace

`DELETE /workspaces`

## Request

- Base URL: `https://app.freyavoice.ai/api/v2`
- URL: `https://app.freyavoice.ai/api/v2/workspaces`
- Auth: HTTP bearer

Permanently deletes a workspace and all associated data. Only the workspace owner can delete.

## Query parameters

- `workspaceId` string, uuid, required: Workspace ID

## Response `200`

Workspace deleted

- object
  - `success` true, required
  - `data` object, required
    - `message` string, required
    - `result` object, required
      - `success` boolean, required
      - `message` string, required

## Other responses

- `400`: Validation error
- `401`: Missing or invalid token
- `403`: Only workspace owner can delete
- `404`: Workspace not found
- `500`: Server error

---

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