Saltar para o conteúdo principal
DELETE
/
v1
/
videos
/
{video_id}
Delete a Video
curl --request DELETE \
  --url https://aihubmix.com/v1/videos/{video_id} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://aihubmix.com/v1/videos/{video_id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.delete(url, headers=headers)

print(response.text)
{
  "object": "video.deleted",
  "deleted": true,
  "id": "<string>"
}
{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}
{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}
{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}
{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}
{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}
{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}

Autorizações

Authorization
string
header
obrigatório

Gateway-issued API key, formatted as sk-gateway-xxxxxxxx. Used by OpenAI-shaped endpoints (/v1/chat/completions, etc.).

Parâmetros de caminho

video_id
string
obrigatório

The identifier of the video to delete.

Exemplo:

"video_123"

Resposta

Success

Confirmation payload returned after deleting a video.

object
enum<string>
padrão:video.deleted
obrigatório

The object type that signals the deletion response.

Opções disponíveis:
video.deleted
deleted
boolean
obrigatório

Indicates that the video resource was deleted.

id
string
obrigatório

Identifier of the deleted video.