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

# Delete file or dir in FileBrowser



## OpenAPI

````yaml /spec/file-browser.yaml delete /v1/projects/{projectID}/disks/{diskName}/delete
openapi: 3.0.1
info:
  title: Liara File Browser API Documentaion
  description: |-
    For managing files in your disks

    Parameters:
    - `teamID`: To access services in a team
  contact:
    name: liara
    url: https://liara.ir
    email: support@liara.ir
  version: 1.0.0
servers:
  - url: https://{filebrowser-url}
    variables:
      filebrowser-url:
        default: Example
        description: This value is assigned by the service provider.
security:
  - jwt: []
tags:
  - name: Disks
    description: Everything about your File Browser in Disks
externalDocs:
  description: Find out more about Liara File Browser
  url: https://docs.liara.ir/disks/file-browser/
paths:
  /v1/projects/{projectID}/disks/{diskName}/delete:
    delete:
      tags:
        - Disks
      summary: Delete file or dir in FileBrowser
      operationId: delete
      parameters:
        - name: projectID
          in: path
          description: The id of your project
          required: true
          schema:
            type: string
        - name: diskName
          in: path
          description: The name of your disk
          required: true
          schema:
            type: string
        - name: path
          in: query
          description: The path of your disk
          required: true
          schema:
            type: string
      responses:
        '202':
          description: Successful operation
          content: {}
        '400':
          description: Bad request
          content: {}
        '401':
          description: Missing authentication
          content: {}
        '404':
          description: App does not exists.
          content: {}
        '500':
          description: Unexpected error
          content: {}
components:
  securitySchemes:
    jwt:
      type: apiKey
      description: 'Enter the token with the `Bearer: ` prefix, e.g. "Bearer abcde12345".  #'
      name: Authorization
      in: header

````