Last updated: 2019-06-25 22:24:52


1. API Description

API request domain name: live.tencentcloudapi.com.

This API update the watermark.

Default API request rate limit: 100 requests/second.

2. Request Parameters

The following parameters are required for requesting this API, including action-specific parameters and common parameters. For more information about common parameters for all requests, see Common Request Parameters.

Parameter name Required Type Description
Action Yes String Common parameter; the name of this API: UpdateLiveWatermark
Version Yes String Common parameter; the version of this API: 2018-08-01
Region No String Common parameter; optional for this API
WatermarkId Yes Integer Watermark ID.
PictureUrl Yes String Watermark image URL
XPosition Yes Integer Display position; X-axis offset.
YPosition Yes Integer Display position; Y-axis offset.
WatermarkName No String Watermark name.

3. Return Parameters

Parameter name Type Description
TemplateId Integer Template ID.
RequestId String The ID of the request. Each request returns a unique ID. The RequestId is required to troubleshoot issues.

4. Sample

Request Sample

Input Sample Code

&<Common request parameter>

Output Sample Code

  "Response": {
    "RequestId": "3c140219-cfe9-470e-b241-907877d6fb03"

5. Developer Resources

API Explorer

API Explorer is a tool that provides ease of use in requesting APIs, authenticating identities, generating SDK and exploring APIs in Tencent Cloud environment.

6. Error Codes

The following error codes are API business logic-related. For other error codes, see Common Error Codes.

Error Code Description
InternalError Internal error
InternalError.DBError DB execution error.
InternalError.GetBizidError Error getting user account.
InternalError.WatermarkEditError Internal error modifying the watermark.
InternalError.WatermarkNotExist The watermark does not exist.