curl --request DELETE \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{Instance_id}/?project_id=<PROJECT_ID>&location=<LOCATION>&apikey=<API_KEY>' \ --header 'Authorization: Bearer <API_TOKEN>'import requests
response = requests.delete( "https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{Instance_id}/", params={"project_id": "<PROJECT_ID>", "location": "<LOCATION>", "apikey": "<API_KEY>"}, headers={"Authorization": "Bearer <API_TOKEN>"},)print(response.json())const url = new URL("https://api.e2enetworks.com/myaccount/api/v1/gpu/notebooks/{Instance_id}/");url.search = new URLSearchParams({ project_id: "<PROJECT_ID>", location: "<LOCATION>", apikey: "<API_KEY>" });
const response = await fetch(url, { method: "DELETE", headers: { "Authorization": "Bearer <API_TOKEN>" },});console.log(await response.json());Permanently deletes the Instance or Virtual Machine and its disk. This action cannot be undone. Snapshots of a VM are not deleted with it. Billing stops at the moment you delete. Deleting a VM on a committed plan refunds nothing. A VM that is saving an image cannot be deleted (“Save Image operation is currently in progress. Please wait for it to complete.”), and a second delete of a VM already being deleted is refused with “This VM is already being deleted. Please wait for the deletion to complete.” A VM that is still launching can be deleted.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Instance ID
Query Parameters
Section titled “Query Parameters”Project ID
Active IAM ID (To access contact person account) Find your Active IAM ID here
Location
Set to true to keep the VM’s public IP as a reserved IP when the VM is deleted.
Responses
Section titled “Responses”Notebook deleted successfully
object
object
object
Example
{ "code": 200, "message": "Notebook deleted successfully", "data": {}, "errors": {}}