请求参数
参数名 | 类型 | 是否必须 | 说明 |
Action | String | 是 | 系统规定参数,取值:RemoveReadOnlyAccount |
DrdsInstanceId | String | 是 | DRDS 实例 ID |
DbName | String | 是 | 数据库名 |
AccountName | String | 是 | 只读帐户名 |
返回值
无公共返回值
错误码
错误码 | 报错信息 | 错误描述 | HTTP 状态码 |
InvalidDrdsInstanceId.NotFound | The DrdsInstanceId provided does not exist in our records. | 实例不存在 | 404 |
InvalidDbName.NotFound | The Drds DbName provided does not exist in our records. | 数据库不存在 | 404 |
InvalidParameter.Mismatch | The specified parameter does not match. | 参数错误 | 400 |
InvalidPassword.MalFormed | The specified parameter password is not valid | 密码格式错误 | 400 |
OperationDenied.DrdsInstanceUpgrading | The drds instance is upgrading, please try again later | 实例正在变配中 | 400 |
OperationFailed.RemoveDbUserFailed | Remove readonly account failed, please try again later | 删除只读账户失败 | 400 |
InvalidReadOnlyAccount.NotFound | read only account not found | 无效的只读账户 | 400 |
InvalidInstanceStatus.NotRunning | The Instance is not in running status | 实例不是运行状态 | 400 |
InvalidDbStatus.NotRunning | The drds database is not in running status | 数据库不是运行状态 | 400 |