---
title: "Delete folder"
method: DELETE
path: "/folders/{id}"
tags: ["Folder"]
---

# Delete folder

`DELETE /folders/{id}`

Delete a folder by id.

Deleting a folder moves the folder to the trash, where it can be restored later

**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
Permission to view the folder and its corresponding space.
Permission to delete folders in the space.

## Path parameters

- `id` integer, required

## Response `204`

Returned if the folder was successfully deleted.

## Other responses

- `400` — Returned if an invalid request is provided.
- `401` — Returned if the authentication credentials are incorrect or missing from the request.
- `404` — Returned if: - The provided folder does not exist - The user does not have permissions to view the folder - The user does not have the needed permissions to delete folder in the space

---

[API](https://skmtc.net/atlassian/apis/the-confluence-cloud-rest-api-v2.md) · [All operations](https://skmtc.net/atlassian/apis/the-confluence-cloud-rest-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/the-confluence-cloud-rest-api-v2/revisions/c4bd1ed570f2/schema)
