> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whatabot.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Workspace

> Delete a workspace.

Delete a workspace and all its resources.

<ParamField header="X-Api-Key" type="string" required>
  Your API key (prefixed with `wh_`).
</ParamField>

<ParamField path="workspaceId" type="string" required>
  Workspace UUID.
</ParamField>

<RequestExample>
  ```bash theme={null}
  curl -X DELETE https://api.whatabot.app/api/v1/workspaces/{workspaceId} \
    -H "X-Api-Key: wh_your_api_key"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  ```
</ResponseExample>
