Deleting a Development Environment Instance
Function
This API is used to delete a development environment instance.
URI
DELETE /v1/{project_id}/demanager/instances/{instance_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain a project ID, see Obtaining a Project ID and Name. |
instance_id |
Yes |
String |
Instance ID |
Request Body
None
Response Body
Table 2 describes the response parameters.
Sample Request
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
Sample Response
- Successful response
{ "instance_id": "6fa459ea-ee8a-3ca4-894e-db77e160355e" }
- Failed response
{ "error_message": "The instance does not exist.", "error_code": "ModelArts.6309" }
Status Code
For details about the status code, see Status Code.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot