Deletes a watermark.
- The default watermark cannot be deleted.
- If you delete a watermark, its mezzanine file is also physically deleted and cannot be recovered.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteWatermark |
The operation that you want to perform. Set the value to DeleteWatermark. |
WatermarkId | String | Yes | 9bcc8bfadb843f*****09a2671d0df97 |
The ID of the watermark. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 25818875-5F78-4A*****F6-D7393642CA58 |
The ID of the request. |
Examples
Sample requests
https://vod.{ApiRegion}.aliyuncs.com/?Action=DeleteWatermark
&WatermarkId=9bcc8bfadb843f*****09a2671d0df97
&<Common request parameters>
Sample success responses
XML
format
<DeleteWatermarkResponse>
<RequestId>25818875-5F78-4A*****F6-D7393642CA58</RequestId>
</DeleteWatermarkResponse>
JSON
format
{
"RequestId": "25818875-5F78-4A*****F6-D7393642CA58"
}
Error codes
For a list of error codes, visit the API Error Center.
Common errors
The following table describes the common errors that this operation can return.
Error code |
Error message |
HTTP status code |
Description |
---|---|---|---|
NoSuchResource |
The specified resource %s does not exist. |
404 |
The error message returned because the user-related resource does not exist. %s indicates the specific resource information. |
SDK examples
We recommend that you use server SDKs to call this operation. You can view the sample code of different languages to call this operation by clicking the following links: