Deleting a DB Instance¶
Function¶
This API is used to delete a DB instance.
URI¶
URI format
DELETE https://{Endpoint}/v3/{project_id}/instances/{instance_id}
Parameter description
¶ Name
Mandatory
Description
project_id
Yes
Specifies the project ID of a tenant in a region.
instance_id
Yes
Specifies the instance ID, which can be obtained by calling the API for querying instances. If you do not have an instance, you can call the API used for creating an instance.
Requests¶
Responses¶
Parameter description
¶ Name
Type
Description
job_id
String
Indicates the workflow ID.
Response example
{ "job_id": "252f11f1-2912-4c06-be55-1999bde659c5" }
Status Code¶
Status Code:202.
For more information, see Status Code.
Error Code¶
For more information, see Error Code.