- 产品介绍
- 计费说明
- 用户指南
- 最佳实践
-
开发指南
- 使用前必读
- 设计数据库对象
- 查询数据
- JDBC二次开发
- 性能调优
-
系统表
- PG_AGGREGATE
- PG_AM
- PG_AMOP
- PG_AMPROC
- PG_ATTRDEF
- PG_ATTRIBUTE
- PG_AUTHID
- PG_CAST
- PG_CLASS
- PG_COLLATION
- PG_CONSTRAINT
- PG_CONVERSION
- PG_DATABASE
- PG_DESCRIPTION
- PG_FOREIGN_DATA_WRAPPER
- PG_FOREIGN_SERVER
- PG_INDEX
- PG_LANGUAGE
- PG_NAMESPACE
- PG_OPCLASS
- PG_OPERATOR
- PG_OPFAMILY
- PG_PROC
- PG_REWRITE
- PG_TYPE
- PGXC_CLASS
- PGXC_GROUP
- PGXC_NODE
-
系统视图
- GET_TSC_INFO
- PG_LOCKS
- PG_NODE_ENV
- PG_OS_THREADS
- PG_ROLES
- PG_RULES
- PG_SESSION_WLMSTAT
- PG_SETTINGS
- PG_SHARED_MEMORY_DETAIL
- PG_STAT_ACTIVITY
- PG_THREAD_WAIT_STATUS
- PG_TABLES
- PG_TIMEZONE_ABBREVS
- PG_TIMEZONE_NAMES
- PG_TOTAL_MEMORY_DETAIL
- PG_VIEWS
- PV_OS_RUN_INFO
- PV_SESSION_MEMORY
- PV_SESSION_MEMORY_DETAIL
- PV_SESSION_TIME
- PV_TOTAL_MEMORY_DETAIL
- GUC参数
-
SQL语法参考
- 关键字
- 数据类型
- 函数和操作符
- 表达式
- 类型转换
- DDL语法
- DML语法
- DCL语法
- DQL语法
- 性能白皮书
- API参考
- SDK参考
- 常见问题
- 文档下载
- 通用参考
链接复制成功!
删除消息通知策略
功能介绍
删除消息通知策略。用户通过调用该接口删除已创建的消息通知策略。此接口为同步接口,无配套使用接口和特殊场景。
调试
您可以在API Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。
URI
DELETE https://localhost.com/v1/workspaces/{workspace_id}/messages/{message_policy_id}
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
message_policy_id |
是 |
String |
|
workspace_id |
是 |
String |
|
请求参数
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
X-Auth-Token |
否 |
String |
|
响应参数
状态码:400
参数 |
参数类型 |
描述 |
---|---|---|
error_code |
String |
|
error_msg |
String |
|
solution_msg |
String |
|
状态码:401
参数 |
参数类型 |
描述 |
---|---|---|
error_code |
String |
|
error_msg |
String |
|
solution_msg |
String |
|
状态码:404
参数 |
参数类型 |
描述 |
---|---|---|
error_code |
String |
|
error_msg |
String |
|
solution_msg |
String |
|
状态码:408
参数 |
参数类型 |
描述 |
---|---|---|
error_code |
String |
|
error_msg |
String |
|
solution_msg |
String |
|
状态码:500
参数 |
参数类型 |
描述 |
---|---|---|
error_code |
String |
|
error_msg |
String |
|
solution_msg |
String |
|
请求示例
GET https://{endpoint}/v1/workspaces/{workspace_id}/messages/{message_policy_id}
响应示例
状态码:400
BadRequest
{
"error_code" : "common.01000001",
"error_msg" : "failed to read http request, please check your input, code: 400, reason: Type mismatch., cause: TypeMismatchException"
}
状态码:401
Unauthorized
{
"error_code" : "APIG.1002",
"error_msg" : "Incorrect token or token resolution failed"
}
状态码:403
Forbidden
{
"error" : {
"code" : "403",
"message" : "X-Auth-Token is invalid in the request",
"title" : "Forbidden"
},
"error_code" : 403,
"error_msg" : "X-Auth-Token is invalid in the request",
"title" : "Forbidden"
}
状态码:404
NotFound
{
"error_code" : "common.01000001",
"error_msg" : "response status exception, code: 404"
}
状态码:408
Request Time-out
{
"error_code" : "common.00000408",
"error_msg" : "timeout exception occurred"
}
状态码:500
InternalServerError
{
"error_code" : "common.00000500",
"error_msg" : "internal error"
}
状态码
状态码 |
描述 |
---|---|
200 |
OK |
400 |
BadRequest |
401 |
Unauthorized |
403 |
Forbidden |
404 |
NotFound |
408 |
Request Time-out |
500 |
InternalServerError |
错误码
请参见错误码。