Updated on 2023-08-29 GMT+08:00

Deleting an Instance

This API is out-of-date and may not be maintained in the future. Please use the API described in Deleting an Instance.

Function

This API is used to delete an instance to release all the resources occupied by it.

URI

DELETE /v1.0/{project_id}/instances/{instance_id}

Table 1 describes the parameters.

Table 1 Parameters

Parameter

Type

Mandatory

Description

project_id

String

Yes

Indicates the ID of a project.

instance_id

String

Yes

Indicates the instance ID.

Request

Request parameters

None.

Example request

DELETE https://{dms_endpoint}/v1.0/{project_id}/instances/{instance_id}

Response

Response parameters

None.

Example response

None.

Status Code

Table 2 describes the status code of successful operations. For details about other status codes, see Status Code.

Table 2 Status code

Status Code

Description

204

The instance is deleted successfully.