---
title: "Empty Trash"
method: POST
path: "/fs-items/empty-trash"
tags: ["Filesystem Items"]
---

# Empty Trash

`POST /fs-items/empty-trash`

## Request

- Base URL: `https://api.aspect.inc`
- URL: `https://api.aspect.inc/fs-items/empty-trash`
- Auth: API key in header `Authorization`

Permanently delete everything in the project trash.

## Request body

- FsItemsEmptyTrashRequest: API request schema for permanently deleting all contents of the project trash.
  - `project_id` string, uuid, required: Project whose trash to empty

## Response `200`

Successful Response

- FsItemsEmptyTrashResponse: API response schema for emptying the project trash
  - `deleted_asset_count` integer, required: Number of assets permanently deleted from trash
  - `deleted_directory_count` integer, required: Number of directories permanently deleted from trash
  - `deleted_symlink_count` integer: Number of symlinks permanently deleted from trash

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aspect/apis/aspect-api.md) - [All operations](https://skmtc.dev/aspect/apis/aspect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/aspect/apis/aspect-api/revisions/28ea5f1adb54?raw)
