Description

You can call this API to delete an instance, and the data in all the databases of the instance will be deleted.

Note

Prerequisites:

  • The instance is in Running status.
  • The instance is not locked.

Request parameters

Name Type Required Description
<Common request parameters> - Yes For more information, see Common parameters.
Action String Yes Required parameter, and the value is DeleteInstance.
InstanceId String Yes The ID of the instance.
ClientToken String No The customized token, used for idempotence check.

Response parameters

Name Type Description
<Common response parameters> - For more information, see Common response parameters

Sample requests

https://petadata.aliyuncs.com/?Action=DeleteInstance
&InstanceId=pd-xxxxxxxxxxxxxx
&<[Common request parameters]>

Sample responses

XML format

<CreateAccountResponse>  
     <RequestId>2FED790E-FB61-4721-8C1C-07C627FA5A19</RequestId>
</CreateAccountResponse>

JSON format

{
   "RequestId": "2FED790E-FB61-4721-8C1C-07C627FA5A19"
}