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

# Delete a dub permanently

> Deletes the dub with all its languages, segments and stored files (videos, audio, subtitles, lip syncs), like "Delete" in the web app.

Deleting is permanent and cannot be undone: there is no trash and no restore, neither through the API nor in the web app — download everything you still need first (GET /api/v1/dubs/{id}/downloads). Afterwards GET /api/v1/dubs/{id}, every other endpoint for this ID and a second DELETE return 404.

Works in every dub status, with no limit and no review lock.



## OpenAPI

````yaml /openapi.json delete /api/v1/dubs/{id}
openapi: 3.1.0
info:
  title: Dubly API
  version: 1.0.0
  description: >-
    The Dubly public API creates, edits and downloads AI-dubbed videos. Every
    request authenticates with an API token as a Bearer token
    ([Authentication](/authentication)). Every answer is JSON in an envelope: `{
    "status": "success", "response": … }` on success, `{ "status": "error",
    "message": … }` on failure — see [Errors](/guides/errors).
servers:
  - url: https://app.dubly.ai
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Create dubs
    description: >-
      Start a dub from a YouTube video, a Google Drive file or a public video
      URL.
  - name: Dubs
    description: >-
      Read a dub's status and results, rename, move or delete it, list its
      downloads and set the original-voice volume.
  - name: Dub editing
    description: >-
      Read and correct segments, edit the timeline, re-voice a segment and apply
      the changes with an update. See [Edit limits](/guides/edit-limits).
  - name: Lip sync
    description: >-
      Start lip sync for a language, follow its progress and switch lip sync per
      block.
  - name: Subtitled video
    description: Burn subtitles into the video of a language and fetch the result.
  - name: Account
    description: List the projects and custom voices of your account.
paths:
  /api/v1/dubs/{id}:
    delete:
      tags:
        - Dubs
      summary: Delete a dub permanently
      description: >-
        Deletes the dub with all its languages, segments and stored files
        (videos, audio, subtitles, lip syncs), like "Delete" in the web app.


        Deleting is permanent and cannot be undone: there is no trash and no
        restore, neither through the API nor in the web app — download
        everything you still need first (GET /api/v1/dubs/{id}/downloads).
        Afterwards GET /api/v1/dubs/{id}, every other endpoint for this ID and a
        second DELETE return 404.


        Works in every dub status, with no limit and no review lock.
      operationId: delete-dub
      parameters:
        - name: id
          in: path
          required: true
          description: >-
            The dub ID (path parameter). An unknown dub, a dub of another
            account and a deleted dub return 404.
          schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
          example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
      responses:
        '200':
          description: The dub is deleted.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: success
                  response:
                    type: object
                    properties:
                      id:
                        type: string
                      deleted:
                        type: boolean
                        const: true
                        description: Always true.
                    required:
                      - id
                      - deleted
                required:
                  - status
                  - response
              examples:
                deleted:
                  summary: Deleted
                  value:
                    status: success
                    response:
                      id: a1b2c3d4-e5f6-7890-abcd-ef1234567890
                      deleted: true
        '400':
          description: BAD_REQUEST — The dub ID is not a UUID.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: UNAUTHORIZED — Missing or invalid API token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: >-
            NOT_FOUND — The dub does not exist, belongs to another account or
            was deleted. A second DELETE of the same dub returns 404 as well.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: >-
            INTERNAL_ERROR — The dub could not be read or deleted. Retry the
            request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        status:
          type: string
          const: error
        message:
          type: string
      required:
        - status
        - message
      description: >-
        The error envelope. The HTTP status carries the error code; `message`
        says what went wrong, in English.
      examples:
        - status: error
          message: Dub not found
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        An API token from Settings → API in the Dubly web app, sent as
        `Authorization: Bearer <token>`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.