Disables Database Autonomy Service (DAS) Professional Edition for a specified database instance.

Request parameters

Parameter Type Required Example Description
Action String Yes DisableDasPro

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

UserId String No 196278346919****

The ID of the Alibaba Cloud account that was used to create the database instance.

Note This parameter is not required. The system can automatically obtain the account ID based on the value of the InstanceId parameter when this operation is called.
InstanceId String Yes rm-2ze8g2am97624****

The ID of the database instance.

Response parameters

Parameter Type Example Description
RequestId String 7172BECE-588A-5961-8126-C216E16B****

The ID of the request.

Message String Successful

The message that is returned for the request.

Note If the request is successful, Successful is returned. If the request fails, an error message that contains information such as an error code is returned.
Synchro String None

A reserved parameter.

Data String None

A reserved parameter.

Code String 200

The returned HTTP status code.

Success String true

Indicates whether the request is successful. Valid values:

  • true
  • false

Examples

Sample requests

http(s)://das.cn-shanghai.aliyuncs.com/?Action=DisableDasPro
&UserId=196278346919****
&InstanceId=rm-2ze8g2am97624****
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DisableDasProResponse>
    <RequestId>7172BECE-588A-5961-8126-C216E16B****</RequestId>
    <Message>Successful</Message>
    <Code>200</Code>
    <Success>true</Success>
</DisableDasProResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "7172BECE-588A-5961-8126-C216E16B****",
  "Message" : "Successful",
  "Code" : "200",
  "Success" : "true"
}

Error codes

HTTP status code Error code Error message Description
400 InvalidParams The request parameters are invalid. The error message returned because the specified request parameters are invalid.

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