Modifies the description of the root account in an ApsaraDB for MongoDB instance.
Operation description
该接口暂不支持分片集群实例。
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:ModifyAccountDescription |
update |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The instance ID. |
dds-bp2356**** |
| AccountName |
string |
Yes |
The name of the account whose description is to be modified. |
root |
| AccountDescription |
string |
Yes |
The description of the account.
|
superadmin |
| CharacterType |
string |
No |
The type of the account whose description you can modify. Valid values:
Note
You can set this parameter only to normal. |
normal |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
59DE9FC2-7B40-45CF-9011-7327A8A771A2 |
Examples
Success response
JSON format
{
"RequestId": "59DE9FC2-7B40-45CF-9011-7327A8A771A2"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidAccountDescription.Malformed | Specified parameter AccountDescription is not valid. | |
| 400 | InvalidAccountName.NotFound | Specified account name does not exist. | |
| 400 | InsType.NotSupport | Specified instance type dose not support this operation. | The specified instance type does not support this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.