> ## Documentation Index
> Fetch the complete documentation index at: https://developers.tally.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Deleting folders

> Deletes a folder and its entire subtree by its ID, moving any contained forms to trash. Requires a Pro subscription.



## OpenAPI

````yaml DELETE /workspaces/{workspaceId}/folders/{id}
openapi: 3.0.1
info:
  title: OpenAPI
  description: Tally's API
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.tally.so
security:
  - bearerAuth: []
paths:
  /workspaces/{workspaceId}/folders/{id}:
    delete:
      summary: Delete a folder
      description: >-
        Deletes a folder and its entire subtree by its ID, moving any contained
        forms to trash. Requires a Pro subscription.
      parameters:
        - name: workspaceId
          in: path
          required: true
          description: The ID of the workspace the folder belongs to
          schema:
            type: string
        - name: id
          in: path
          required: true
          description: The ID of the folder to delete
          schema:
            type: string
      responses:
        '204':
          description: Folder deleted successfully
        '401':
          description: Unauthorized
        '404':
          description: Folder not found
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````