UpdateNotifyStrategy - 更新通知策略

更新时间:
复制 MD 格式

更新通知策略

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求语法

PUT /notifyStrategies/{notifyStrategyId} HTTP/1.1

路径参数

名称

类型

必填

描述

示例值

notifyStrategyId

string

通知策略 UUID

12312-31-23-123-1-23123

请求参数

名称

类型

必填

描述

示例值

workspace

string

工作空间名称

workspace-test

body NotifyStrategyForModify

请求体参数。

返回参数

名称

类型

描述

示例值

object

响应内容结构

requestId

string

请求的唯一 ID,用于排查问题

8FDE2569-626B-5176-9844-28877A*****

notifyStrategyId

string

通知策略 UUID

12312-31-23-123-1-23123

示例

正常返回示例

JSON格式

{
  "requestId": "8FDE2569-626B-5176-9844-28877A*****",
  "notifyStrategyId": "12312-31-23-123-1-23123"
}

错误码

HTTP status code

错误码

错误信息

描述

400 InvalidParameterValue Illegal parameters. 参数错误。
400 ValidateFail Parameter validation failed.
400 StrategyNameConflict The specified strategy name exits already. 指定的策略名称已经存在
500 InternalUnknownError The request processing has failed due to some unknown error. 服务运行错误。
403 Forbidden You are not authorized to operate the specified resource. 没有权限,请使用RAM进行授权
404 ResourceNotFound The specified resource is not found. 未找到指定资源。

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情