---
title: "Preview permanent Organization deletion"
method: GET
path: "/organizations/{id}/deletion-preview"
tags: ["Organizations"]
---

# Preview permanent Organization deletion

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

## Request

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

Lists every owned Workspace, the local Paddle state, pending external work, access effects, retained evidence, irreversible loss, and every current blocker. Only the current Organization Owner can inspect it.

## Path parameters

- `id` string, required: Organization ID

## Response `200`

OK

- OrganizationDeletionPreview
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `access_effects` string[], nullable, required
  - `billing_state` string, required: Latest local Paddle subscription state, or none
  - `blockers` WorkspaceDeletionBlocker[], nullable, required
    - `code` string, required
    - `message` string, required
  - `irreversible_loss` string[], nullable, required
  - `organization_id` string, required
  - `organization_name` string, required
  - `pending_work` OrganizationDeletionPendingWork, required
    - `pending_cleanup_jobs` integer, required
    - `pending_jobs` integer, required
    - `pending_provider_writes` integer, required
  - `recovery_possible` boolean, required
  - `retained` string[], nullable, required
  - `workspaces` OrganizationDeletionWorkspace[], nullable, required
    - `workspace_id` string, required
    - `workspace_name` string, required

## Other responses

- `401`: Unauthorized
- `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)
