Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Deleting a Transcoded Output

Function

Deletes a transcoded output.

URI

DELETE /v1/{project_id}/asset/transcode-product

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

No

String

User token. This parameter is mandatory when token authentication is used.

It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is a token.

Authorization

No

String

Authentication information. This parameter is mandatory for AK/SK authentication.

X-Sdk-Date

No

String

Time when the request is sent. This parameter is mandatory for AK/SK authentication.

Table 3 Request body parameters

Parameter

Mandatory

Type

Description

asset_id

No

String

Media asset ID.

delete_type

No

String

GROUP: Deletion at the template group level

PRODUCT: Deletion at the product level

delete_infos

No

Array of ProductGroupInfo objects

Information about a deleted output. Information about a maximum of 100 outputs can be transferred.

Table 4 ProductGroupInfo

Parameter

Mandatory

Type

Description

group_id

No

String

Template group ID.

products

No

Array of ProductUrlInfo objects

Product information.

Table 5 ProductUrlInfo

Parameter

Mandatory

Type

Description

url

No

String

Deleted product URL.

Response Parameters

Status code: 200

Table 6 Response body parameters

Parameter

Type

Description

asset_id

String

Media asset ID assigned by VOD. This parameter can only be queried but cannot be modified.

status

String

SUCCESS: successful

FAIL: failed

PARTIAL_SUCCESS: partially successful

deleted_products

Array of ProductGroupInfo objects

Product that has been deleted.

failed_products

Array of ProductGroupDelFailInfo objects

Product that fails to be deleted.

Table 7 ProductGroupInfo

Parameter

Type

Description

group_id

String

Template group ID.

products

Array of ProductUrlInfo objects

Product information.

Table 8 ProductUrlInfo

Parameter

Type

Description

url

String

Deleted product URL.

Table 9 ProductGroupDelFailInfo

Parameter

Type

Description

group_id

String

Template group ID.

fail_reason

String

Cause of the failure to delete a template group.

products

Array of ProductDelFailInfo objects

Information about the product that fails to be deleted.

Table 10 ProductDelFailInfo

Parameter

Type

Description

url

String

Deleted product URL.

fail_reason

String

Cause of the failure to delete a product.

Status code: 403

Table 11 Response body parameters

Parameter

Type

Description

error_code

String

Error code

error_msg

String

Error description

Example Requests

  • DELETE https://{endpoint}/v1/{project_id}/asset/transcode-product
    
    Content-Type: application/json
    {
      "asset_id": "8c53b4038ea3d8694f1a8a7ac95f612f",
      "delete_type": "PRODUCT",
      "delete_infos": [
        {
          "group_id": "9171008cca7f47909c61f61a65d4c906",
          "products": [
            {
              "url": "https://103-cn-north-4.cdn-vod.huaweicloud.com/asset/8c53b4038ea3d8694f1a8a7ac95f612f/play_multi_video/9171008cca7f47909c61f61a65d4c906/38a92b74ead764ad21aa5355bad5193e.mp4"
            }
          ]
        }
      ]
    }
  • DELETE https://{endpoint}/v1/{project_id}/asset/transcode-product
    
    Content-Type: application/json
    {
      "asset_id": "6f306b4cc58c39b2a97ad797367b88ad",
       "delete_type": "GROUP",
       "delete_infos": [
         {
            "group_id": "02e6887dd6bf48299922eec52d192115"
         }
        ]
    }

Example Responses

Status code: 200

The information is returned when the request succeeded.

{
  "status" : "SUCCESS",
  "deleted_products" : [ {
    "group_id" : "9171008cca7f47909c61f61a65d4c906",
    "products" : [ {
      "url" : "https://103-cn-north-4.cdn-vod.huaweicloud.com/asset/8c53b4038ea3d8694f1a8a7ac95f612f/play_multi_video/9171008cca7f47909c61f61a65d4c906/da6613ac132eda54b2f4ab67adbf56bd.mp4"
    } ]
  } ],
  "failed_products" : [ ]
}

Status code: 403

The information is returned when the request failed.

{
  "error_code" : "VOD.10053",
  "error_msg" : "The request parameter is illegal, illegal field: {xx}."
}

Status Codes

Status Code

Description

200

The information is returned when the request succeeded.

403

The information is returned when the request failed.

Error Codes

See Error Codes.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback