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

# 删除视频

> 将终态视频生成记录标记为已删除。进行中的任务无法删除。

需要工作区的预览功能访问权限。有关设置、Webhook 和结果处理，请参阅[视频与批处理任务](../../guides/async-video-and-batch.mdx)。


## OpenAPI

````yaml zh-Hans/openapi/v1/openapi.localized.yaml DELETE /videos/{video_id}
openapi: 3.0.3
info:
  title: Phaseo Gateway API
  description: 通过兼容 OpenAI 的端点访问各种 AI 模型的网关 API。
  version: 1.0.0
  contact:
    name: Phaseo
    url: https://phaseo.app
    email: danielbutler500@gmail.com
servers:
  - url: https://api.phaseo.app/v1
    description: 全球路由
security:
  - BearerAuth: []
tags:
  - name: Gateway
    description: Core Phaseo Gateway operations.
paths:
  /videos/{video_id}:
    delete:
      tags:
        - Gateway
      summary: 删除视频
      description: 将终态视频生成记录标记为已删除。进行中的任务无法删除。
      operationId: deleteVideo
      parameters:
        - name: video_id
          in: path
          required: true
          description: 视频生成请求的ID。
          schema:
            type: string
      responses:
        '200':
          description: 视频删除响应
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoDeleteResponse'
components:
  schemas:
    VideoDeleteResponse:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
        deleted:
          type: boolean
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Bearer 令牌身份验证

````

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