SIGN IN / UP
    opened image

    To start the Delete operation, use the following function.

     

    URL: 

    https://api.zomro.com/

    Method: POST

    Request Body (Form-data):

    Parameter Example Value Required Parameter Value Description
    func instances.delete Yes Function to start the delete operation on an instance
    auth 21fc199...c43f71 No Session token. This is one of the authorization options. More details on other options are described here
    out json Yes Response type expected
    elid 5113119 Yes ID 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):

    Parameter Value
    func instances.delete
    auth 21fc199...c43f71
    out json
    elid 5113119

     

    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: