You need to enable JavaScript to run this app.
视频直播

视频直播

Copy page
Download PDF
直播水印
DeleteWatermarkPresetV2 - 删除水印模板
Copy page
Download PDF
DeleteWatermarkPresetV2 - 删除水印模板

调用 DeleteWatermarkPresetV2 接口,删除指定水印模板。

注意事项

  • 请求频率:单用户请求频率限制为 5 次/秒。
  • 生效时间:添加、修改或删除水印模板后,需等待 3-5 分钟生效。模板生效后新产生的转码流会使用最新水印模板,模板生效前已有的转码流不会自动应用变更。如果变更前没有转码流,等待模板生效即可。如果变更前已有转码流且需使用最新水印模板,请在模板生效后重新推流。

请求说明

  • 请求方式:POST
  • 请求地址:https://live.volcengineapi.com?Action=DeleteWatermarkPresetV2&Version=2023-01-01

调试

请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。

Query

参数类型是否必选示例值描述
ActionString是DeleteWatermarkPresetV2接口名称。当前 API 的名称为 DeleteWatermarkPresetV2。
VersionString是2023-01-01接口版本。当前 API 的版本为 2023-01-01。

Body

参数类型是否必选示例值描述

PresetName

String

否

watermark001

水印模板的名称,您可以调用 ListWatermarkPresetDetail 接口获取。

tip

PresetName 和 ID 参数二选一必传。

ID

Integer

否

12344567

水印模板的 ID,您可以调用 ListWatermarkPresetDetail 接口获取。

tip

PresetName 和 ID 参数二选一必传。

返回参数

本接口无特有的返回参数。更多信息请见返回结构。

请求示例

POST https://live.volcengineapi.com?Action=DeleteWatermarkPresetV2&Version=2023-01-01
{
    "ID": 12344567
}

返回示例

{
    "ResponseMetadata": {
        "RequestId": "20230604110420****100232280022D31",
        "Action": "DeleteWatermarkPresetV2",
        "Version": "2023-01-01",
        "Service": "live",
        "Region": "cn-north-1"
    }
}

错误码

您可访问公共错误码,获取更多错误码信息。

状态码错误码错误信息说明
200CommonErr-未分类错误。建议重试,如果仍返回该错误码,请联系技术支持。
400InvalidParam-输入的参数无效或不符合要求,请参照请求参数说明进行检查。
400InvalidParam.BindErrorRequest parameter error, please check input data参数未通过校验,请检查参数类型是否正确。
400InvalidParam.StillUsing%s is still in use, can't delete服务正在使用错误消息中指定的资源导致,无法删除,请释放资源后重试。
403RequestForbidden-请求被拒绝,当前账号下无请求的资源(域名空间、域名、应用、配置模板、证书)。
403RequestForbidden.AccountIDNotAllowedthis AccountID does not have permission to access the corresponding resource, please check the request parameters请求被拒绝,当前账号下无请求的资源(域名空间、域名、应用、配置模板、证书)。
403RequestForbidden.BillingStatusBilling status is not available for the AccountID, please activate the service or recharge.未开通视频直播服务或账号欠费,造成账单不可用,请检查服务开通情况和账号欠费情况。
404ResourceNotFound-未找到资源(域名空间、域名、应用、配置模板、证书)。建议重试,如果仍返回该错误码,请联系技术支持。
404ResourceNotFound.PresetNotExistpreset not found未找到配置模板。请检查传入的配置模板与创建好的配置模板是否一致。
500InternalErroran internal error occurred, please contact the administrator.出现内部错误,请联系技术支持。
500InternalError.Presetan internal error related to preset occurred, please contact the administrator.出现与功能配置相关的内部错误,请联系技术支持。
502InternalServiceErroran internal error occurred, please contact the administrator.服务间出现错误,请联系技术支持。
502InternalServiceError.BadResponsean internal error occurred, please contact the administrator.服务间出现错误,请联系技术支持。
504InternalServiceTimeoutInternal Service is timeout. please contact the administrator.内部服务超时,请联系技术支持。
Last updated: 2026.11.03 18:03:36