Skip to content

Delete Instance / VM

DELETE
/notebooks/{Instance_id}/
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>'

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.

Instance_id
required
integer

Instance ID

project_id
required
integer

Project ID

active_iam
integer

Active IAM ID (To access contact person account) Find your Active IAM ID here

location
required
string
Allowed values: Delhi Chennai

Location

reserve_public_ip
boolean

Set to true to keep the VM’s public IP as a reserved IP when the VM is deleted.

Notebook deleted successfully

Media typeapplication/json
object
code
integer
message
string
data
object
errors
object

Example

{
"code": 200,
"message": "Notebook deleted successfully",
"data": {},
"errors": {}
}