This API is used to delete a development environment instance.
DELETE /v1/{project_id}/demanager/instances/{instance_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain the project ID, see Obtaining a Project ID. |
instance_id |
Yes |
String |
Instance ID |
None
Table 2 describes the response parameters.
The following shows how to delete instance 6fa459ea-ee8a-3ca4-894e-db77e160355e.
DELETE https://endpoint/v1/{project_id}/demanager/instances/6fa459ea-ee8a-3ca4-894e-db77e160355e
{ "instance_id": "6fa459ea-ee8a-3ca4-894e-db77e160355e" }
{ "error_message": "The instance does not exist.", "error_code": "ModelArts.6309" }
For details about the status code, see Status Code.
See Error Codes.