检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Status code: 400 Table 4 Response body parameters Parameter Type Description error_code String Error code error_msg String Error description Example Requests DELETE https://{endpoint}/v1/{project_id}/transcodings/task?
Status code: 403 Table 4 Response body parameters Parameter Type Description error_code String Error code error_msg String Error description Example Requests DELETE https://{endpoint}/v1/{project_id}/remux/task?
Delete the watermark and perform transcoding again. For details about how to delete a watermark, see Deleting a Watermark Template. Parent topic: API and SDK Usage
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies mpc:animatedGraphicsTask:delete Write - - - - URI DELETE /v1/{project_id}/animated-graphics Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Project ID.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies mpc:extracTask:delete Write - - - - URI DELETE /v1/{project_id}/extract-metadata Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Project ID.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies mpc:templateGroup:delete Write - - - - URI DELETE /v1/{project_id}/template_group/transcodings Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Project ID.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies mpc:transcodeTask:delete Write - - - - URI DELETE /v1/{project_id}/transcodings Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Project ID.
view - DELETE /v1/{project_id}/animated-graphics mpc:animatedGraphicsTask:delete - POST /v1/{project_id}/extract-metadata mpc:extracTask:create - GET /v1/{project_id}/extract-metadata mpc:extracTask:view - DELETE /v1/{project_id}/extract-metadata mpc:extracTask:delete - POST /v1/{
Deleting a Transcoding Template You can delete a custom transcoding template based on its ID. Core Code 1 2 3 4 5 // Set the template ID and send a request for deleting the transcoding template.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies mpc:transcodeTemplate:delete Write - - - - URI DELETE /v1/{project_id}/template/transcodings Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Project ID.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies mpc:thumbnailsTask:delete Write - - - - URI DELETE /v1/{project_id}/thumbnails Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Project ID.
Deleting a Watermark Template This section describes how to delete a watermark template based on its ID. Core Code 1 2 3 4 5 // Send a request to MPC.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies mpc:watermarkTempate:delete Write - - - - URI DELETE /v1/{project_id}/template/watermark Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Project ID.
template_id,page,size} Queries watermark templates. deleteWatermarkTemplate DELETE /v1/{project_id}/template/watermark{?
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies mpc:remuxTsk:delete Write - - - - URI DELETE /v1/{project_id}/remux Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Project ID.
task_id,start_time,end_time,status,page,size} Querying Packaging Tasks DELETE /v1/{project_id}/remux{?
If you do not want to retain the transcoded files, delete them from OBS to avoid storage fees.
Table 2 Bucket policies Bucket Policy Description Private Only the bucket owner can read, write, and delete objects in the bucket. Public Read Any user can read objects in the bucket. Only the bucket owner can write and delete objects in the bucket.
Table 2 Bucket policies Bucket Policy Description Private Only the bucket owner can read, write, and delete objects in the bucket. Public Read Any user can read objects in the bucket. Only the bucket owner can write and delete objects in the bucket.
SDK Overview Media Processing Center (MPC) software development kits (SDKs) allow you to create, cancel, and query transcoding tasks, as well as create, delete, modify, and query transcoding templates. The Java, Python, and Go SDKs are available.