---
title: "Destroy a folder in Trash for good"
method: DELETE
path: "/tables/folders/{folder_id}/purge/"
tags: ["tables"]
---

# Destroy a folder in Trash for good

`DELETE /tables/folders/{folder_id}/purge/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/tables/folders/{folder_id}/purge/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Permanently destroy a folder that is in Trash, with every folder and table that went there with it, and every row those tables held. This cannot be undone.

## Path parameters

- `folder_id` string, uuid, required

## Response `200`

Successful Response

- SuccessfullyDeletedResponse
  - `count` integer: The number of resources that were deleted.
  - `detail` string, required: The detail of why the resource was deleted.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Folder not found in Trash
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
