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

# Bulk delete files

> Delete up to 50 files simultaneously with parallel processing



## OpenAPI

````yaml DELETE /files/bulk
openapi: 3.1.0
info:
  title: Null Drop API v2
  description: Optimized API for file management (upload, download, list, delete)
  version: 2.0.0
servers:
  - url: https://nulldrop.xyz/api/v2
security:
  - bearerAuth: []
paths:
  /files/bulk:
    delete:
      summary: Delete multiple files
      description: Delete up to 50 files simultaneously with parallel processing
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - fileIds
              properties:
                fileIds:
                  type: array
                  items:
                    type: string
                  description: Array of file IDs to delete (max 50)
                  example:
                    - abc123
                    - def456
                    - ghi789
      responses:
        '200':
          description: Files processed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkDeleteResponse'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    BulkDeleteResponse:
      type: object
      properties:
        success:
          type: boolean
        data:
          type: object
          properties:
            total:
              type: integer
              description: Total number of files processed
            successful:
              type: integer
              description: Number of successful deletes
            failed:
              type: integer
              description: Number of failed deletes
            results:
              type: array
              items:
                oneOf:
                  - type: object
                    properties:
                      success:
                        type: boolean
                        example: true
                      id:
                        type: string
                      filename:
                        type: string
                  - type: object
                    properties:
                      success:
                        type: boolean
                        example: false
                      id:
                        type: string
                      error:
                        type: string
                      code:
                        type: string
        _perf:
          type: integer
          description: Request duration in milliseconds
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
        code:
          type: string
          description: Error code
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API key authentication (format: nd_xxxxx)'

````