You can call the interface ModifyAccountDescription to modify the description of an account.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyAccountDescription

The operation that you want to perform. Set the value to ModifyAccountDescription.

AccountName String Yes test

The name of the member account.

Description String Yes test

The description of the account.

DrdsInstanceId String Yes drds************

The ID of the ApsaraDB RDS for PostgreSQL instance.

Response parameters

Parameter Type Sample response Description
RequestId String 2F93CCD5-806F-4470-BBC7-20476A******

The ID of the request.

Success Boolean true

Indicates whether the request was sent successfully or not.

Examples

Sample requests

http(s)://drds.aliyuncs.com/? Action=ModifyAccountDescription
&AccountName=test
&Description=test
&DrdsInstanceId=drds************
&<Common request parameters>

Sample success responses

XML fomat

<RequestId>2F93CCD5-806F-4470-BBC7-20476A******</RequestId>
<Success>true</Success>

JSON format

{
    "RequestId": "2F93CCD5-806F-4470-BBC7-20476A******",
    "Success": true
}

Error codes

For a list of error codes, visit the API Error Center.