You need to enable JavaScript to run this app.
云数据库 PostgreSQL 版

云数据库 PostgreSQL 版

复制全文
账号管理
DeleteDBAccount
复制全文
DeleteDBAccount

调用 DeleteDBAccount 接口删除账号。

请求类型

同步请求。

调试

请求参数

参数
类型
是否必选
示例值
描述
InstanceId
String
postgres-ca7b7019****
实例 ID。
AccountName
String
testuser
数据库账号名称。

返回参数

null

示例

请求示例

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

返回示例

{
    "ResponseMetadata": {
        "RequestId": "202308021644554D1139AA18BB6AF4CF39",
        "Action": "DeleteDBAccount",
        "Version": "2022-01-01",
        "Service": "rds_postgresql",
        "Region": "cn-beijing"
    },
    "Result": null
}
最近更新时间:2025.08.25 20:25:17
这个页面对您有帮助吗?
有用
有用
无用
无用