Delete Virtual server

<< Click to Display Table of Contents >>

Navigation:  Managing Syncplify.me Server! > REST API > SuperAdmin API > Virtual server >

Delete Virtual server

Deletes a virtual server.

 

Request

Method

URL

POST

/smserver/smsadm.DeleteVServer

RAW

POST /smserver/smsadm.DeleteVServer HTTP/1.1

Cache-Control: no-cache

Connection: Keep-Alive

Pragma: no-cache

Content-Type: application/json; charset=UTF-8

Accept: */*

Authorization: Bearer XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

 

[

       {

           "vserver" : "newvserver",

           "machineID" : "Z5ENP7AZMPRERDQHUEWBSICAKI"

       }

]

Explained

Deletes a virtual server from a certain machine.

 

vserver: virtual server name

MachineId: machine from which such vserver has to be removed

 

Response

Method

URL

RAW

Accept-Encoding: synlz,gzip

Content-Type: application/json; charset=UTF-8

 

 

{"result":[

   {

       "Result" : 1,

       "ResultMsg" : "Deleted",

   },

],"id":7721}

Explained

Result:

  1 = success

  any other value different from 1 = error

 

ResultMsg: a friendly message (success or error message) explaining what happened