---
title: "Permanently delete a Workspace and its content"
method: DELETE
path: "/workspaces/{id}"
tags: ["Workspaces"]
---

# Permanently delete a Workspace and its content

`DELETE /workspaces/{id}`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/workspaces/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

Permanently deletes the Workspace and its content only after Organization Owner authorization, exact canonical-name confirmation, recent authentication, and lifecycle-blocker checks. Billing and required audit records remain.

## Path parameters

- `id` string, required: Workspace ID

## Request body

- DeleteWorkspaceInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `confirm_name` string, required: Exact canonical Workspace name
  - `current_password` string: Current account password
  - `reauth_grant` string: One-time grant for workspace.delete

## Response `200`

OK

- DeleteWorkspaceOutputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `deleted` boolean, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

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