---
title: Delete files (from Recycle Bin)
description: POST /nd/api/file/remove_from_trash: Delete files (from the trash bin) Interface description, including path, method, parameters and return information.
slug: api-post-nd-api-file-remove-from-trash
lang: en
category: File API
category_order: 8
order: 114
api_method: POST
api_path: /nd/api/file/remove_from_trash
api_label: Delete files (from Recycle Bin)
keywords:
  - API
  - Delete files (from Recycle Bin)
  - /nd/api/file/remove_from_trash
---

# Delete files (from recycle bin)

| Properties | Values |
| --- | --- |
| HTTP method | `POST` |
| Interface path | `/nd/api/file/remove_from_trash` |
| Category | File API |

## Interface description

Interface path: `/nd/api/file/remove_from_trash`

HTTP method: `POST`


**HTTP method:** `POST`

#### POST request body parameters

Parameter name Comment (description)
file_ids[] target file id array (required) string[]
#### The return information is as follows

{"code":0,"success":true}

## Call instructions

- Before calling, you need to complete [Get token](api-post-api-token-do.md) or the corresponding login-free authentication, and carry `Authorization: Bearer <access_token>` in the request header.
- If there are differences in parameters and return fields due to deployment versions, the actual private cloud API documents and joint debugging results should prevail.
- Category: File API.
