---
title: "Preview permanent Workspace deletion"
method: GET
path: "/workspaces/{id}/deletion-preview"
tags: ["Workspaces"]
---

# Preview permanent Workspace deletion

`GET /workspaces/{id}/deletion-preview`

## Request

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

Explains permanent data loss, retained records, recovery, and current lifecycle blockers. Only the Organization Owner can inspect this preview.

## Path parameters

- `id` string, required: Workspace ID

## Response `200`

OK

- WorkspaceDeletionPreview
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `blockers` WorkspaceDeletionBlocker[], nullable, required
    - `code` string, required
    - `message` string, required
  - `recovery_possible` boolean, required
  - `removed` string[], nullable, required
  - `retained` string[], nullable, required
  - `workspace_id` string, required
  - `workspace_name` string, required

## Other responses

- `403`: Forbidden
- `404`: Not Found
- `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)
