You need to enable JavaScript to run this app.
导航
DeleteSlot
最近更新时间:2024.09.05 20:16:45首次发布时间:2024.07.31 14:12:09

调用 DeleteSlot 接口删除复制槽。

请求类型

同步请求。

注意事项

仅支持删除非活跃状态的复制槽。

请求参数

参数
类型
是否必选
示例值
描述
InstanceId
String
postgres-b99fc497\*\*\*\*
待删除复制槽所属实例的 ID。
SlotName
String
NameOfSlotToBeDeleted
待删除的复制槽的名称。

返回参数

null

示例

请求示例

POST /?Action=DeleteSlot&Version=2022-01-01 HTTP/1.1
Content-Type: application/json
Host: rds.volcengineapi.com
X-Date: 20231002T101010Z
Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_postgresql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458****
{
    "InstanceId":"mysql-b99fc497****",
    "SlotName":"SlotToBeDeleted"
}

返回示例

{
    "ResponseMetadata": {
        "RequestId": "202407181609044F08B2D5162A85A75434-9bd837",
        "Action": "DeleteSlot",
        "Version": "2022-01-01",
        "Service": "rds_postgresql",
        "Region": "cn-beijing"
    },
    "Result": null
}