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

# Delete Video Task

> Batch delete specified video tasks



## OpenAPI

````yaml /api-reference/video/openapi.json post /v1/video/deletevideotask
openapi: 3.0.3
info:
  title: Video Service API
  description: >-
    Video Generation Service API - Provides various AI video generation, task
    queries and history features
  version: 1.0.1
  contact:
    name: API Support
servers:
  - url: https://api.tensorslab.com
    description: Development environment
security: []
tags:
  - name: Video Generation
    description: Video generation related interfaces
  - name: Task Management
    description: Task management related interfaces
paths:
  /v1/video/deletevideotask:
    post:
      tags:
        - Task Management
      summary: Delete Video Task
      description: Batch delete specified video tasks
      operationId: deleteVideoTask
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteVideoTaskRequest'
      responses:
        '200':
          description: Request successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteVideoTaskResponse'
        '400':
          description: Request parameter error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    DeleteVideoTaskRequest:
      type: object
      description: Delete video task request
      properties:
        taskids:
          type: array
          description: List of task IDs to delete
          items:
            type: string
      required:
        - taskids
    DeleteVideoTaskResponse:
      type: object
      description: Delete task response
      allOf:
        - $ref: '#/components/schemas/BaseResponse'
        - type: object
          properties:
            data:
              $ref: '#/components/schemas/DeleteVideoTaskData'
          required:
            - data
    ErrorResponse:
      type: object
      description: Error response
      properties:
        code:
          type: integer
          description: 'Error code: 9999=Error, 9000=Insufficient Credits'
        msg:
          type: string
          description: Error message
      required:
        - code
        - msg
    BaseResponse:
      type: object
      description: Base response structure
      properties:
        code:
          type: integer
          description: >-
            Response status code: 1000=Success, 9999=Failure, 9000=Insufficient
            Credits
        msg:
          type: string
          description: Response message
      required:
        - code
        - msg
    DeleteVideoTaskData:
      type: object
      description: Delete task response data
      properties:
        status:
          type: string
          description: 'Deletion status: Success or Failed'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: API Key Authorization

````