Deletes an image watermark template or text watermark template by watermark template ID.
Operation description
When you delete an image watermark template, the watermark source file is physically deleted and cannot be recovered. Proceed with caution.
A watermark template that has been set as the default watermark template cannot be deleted. To delete it, call SetDefaultWatermark to set another watermark template as the default template to remove the default status, and then delete it.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:DeleteWatermark |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WatermarkId |
string |
Yes |
The ID of the watermark template to delete. Only a single watermark template ID can be specified. You can obtain the ID by using the following methods:
|
9bcc8bfadb843f*****09a2671d0df97 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
25818875-5F78-4A*****F6-D7393642CA58 |
Examples
Success response
JSON format
{
"RequestId": "25818875-5F78-4A*****F6-D7393642CA58"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.