Disables the three-role mode for a PolarDB-X instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DisableRightsSeparation |
The operation that you want to perform. Set the value to DisableRightsSeparation. |
RegionId | String | Yes | cn-hanghzou |
The ID of the region where the PolarDB-X instance is deployed. |
DBInstanceName | String | Yes | pxc-sprcym7g7w**** |
The name of the PolarDB-X instance. |
DbaAccountName | String | Yes | account_1 |
The username of the database administrator (DBA) account. |
DbaAccountPassword | String | Yes | ***** |
The password of the DBA account. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Message | String | success |
The message that is returned. If the request is successful, "success" is returned. If the request fails, an error code is returned. |
RequestId | String | FE5D94E3-3C93-3594-95D9-AAED2A980915 |
The ID of the request. |
Success | Boolean | true |
Indicates whether the request is successful. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DisableRightsSeparation
&RegionId=cn-hanghzou
&DBInstanceName=pxc-sprcym7g7w****
&DbaAccountName=account_1
&DbaAccountPassword=*****
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DisableRightsSeparationResponse>
<Message>success</Message>
<RequestId>FE5D94E3-3C93-3594-95D9-AAED2A980915</RequestId>
<Success>true</Success>
</DisableRightsSeparationResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"Message" : "success",
"RequestId" : "FE5D94E3-3C93-3594-95D9-AAED2A980915",
"Success" : true
}
Error codes
For a list of error codes, visit the API Error Center.