Updates a watermark rule.

Usage notes

This operation allows you to modify the parameters of a watermark rule with a specified ID.

QPS limit

You can call this operation up to 60 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation. For more information, see QPS limit on an API operation in ApsaraVideo Live.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes UpdateLiveStreamWatermarkRule

The operation that you want to perform. Set the value to UpdateLiveStreamWatermarkRule.

RuleId String Yes 445409ec-7eaa-461d-8f29-4bec2eb9****

The ID of the watermark rule.

Name String No WatermarkRule****

The name of the custom rule.

Description String No my rule

The description of the custom rule.

TemplateId String No 445409ec-7eaa-461d-8f29-4bec2eb9 ****

The ID of the watermark template.

Note You can obtain the template ID by checking the value of the TemplateId parameter that is returned by the AddLiveStreamWatermark operation.

Response parameters

Parameter Type Example Description
RequestId String 5c6a2a0df228-4a64-af62-20e91b9676b3

The ID of the request.

Examples

Sample request

http(s)://live.aliyuncs.com/?Action=UpdateLiveStreamWatermarkRule
&RuleId=445409ec-7eaa-461d-8f29-4bec2eb9****
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<UpdateLiveStreamWatermarkRuleResponse>
<RequestId>5c6a2a0df228-4a64-af62-20e91b9676b3</RequestId>
</UpdateLiveStreamWatermarkRuleResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "5c6a2a0df228-4a64-af62-20e91b9676b3"
}

Error codes

For a list of error codes, visit the API Error Center.