> ## 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 ja/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.