---
title: "Delete a workspace owned by the authenticated user"
method: DELETE
path: "/v2/workspaces"
tags: ["Workspaces"]
---

# Delete a workspace owned by the authenticated user

`DELETE /v2/workspaces`

Deletes the workspace identified by `workspaceId`. Only the owner can delete a workspace.

Rate limited to 1 deletion every 10 seconds per user.

## Request body

- object
  - `workspaceId` string, required

## Response `200`

Workspace deleted.

- object
  - `status` 'success', required

## Other responses

- `400` — The `workspaceId` is missing, the user is not the owner, or the delete operation failed.
- `401` — The Authorization header is missing, malformed, or the credentials are not valid.
- `403` — The API key is restricted to a set of resources that does not cover this workspace.
- `413` — The request body is larger than the maximum allowed size (100MB).
- `429` — The endpoint enforces its own rate limit and the caller hit the cooldown.
- `500` — An unexpected error occurred while processing the request.

---

[API](https://skmtc.dev/squarecloud/apis/square-cloud-api.md) · [All operations](https://skmtc.dev/squarecloud/apis/square-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/squarecloud/square-cloud-api/revisions/54b7733a6b95/schema)
