opened image

API - Operation Delete

To start the Delete operation, use the following function.

 

URL: 

https://api.zomro.com/

Method: POST

Request Body (Form-data):

ParameterExample ValueRequired ParameterValue Description
funcinstances.deleteYesFunction to start the delete operation on an instance
auth21fc199...c43f71NoSession token. This is one of the authorization options. More details on other options are described here
outjsonYesResponse type expected
elid5113119YesID of the service to perform the operation on

 

Example of performing a rebuild

For example, we use the service 

 

 

URL: 

https://api.zomro.com/

 

Method: POST

 

Request Body (Form-data):

ParameterValue
funcinstances.delete
auth21fc199...c43f71
outjson
elid5113119

 

Here is an example of a request that can be executed from the console:

 

curl --location 'https://api.zomro.com/' \
--form 'func="instances.delete"' \
--form 'auth="f1662dcabc6b96c85be3af64"' \
--form 'elid="5113119"' \
--form 'out="json"'

 

After executing the request, we can see that the server is in the process of being deleted.

 

 

After deletion, we see that the service is absent in the personal account.

 

 

As we can see, the services are absent in the personal account, meaning it was deleted.

 

 

We also suggest studying articles that may be useful for interacting with Cloud VPS products using the API: