Cancel server
POST
https://api.vpsbg.eu/v1/servers/{id}/cancelSend a cancel request for your server. This won't terminate your server. The servers are being terminated later, depending whether you cancel your server immediately or at the end of the billing period.
Request
Path Params
id
string
required
Body Params application/json
reason
string
optional
You can specify the reason for the cancel request. We actually read them and strive to improve.
now
boolean
optional
If set to true your server will be suspended right away and terminated later. If set to false, the server will be suspended on the expiry date of the service and terminated at a later point.
Default:
false
Example
{
"reason": "Project ended.",
"now": false
}
Request samples
Responses
Success(204)
HTTP Code: 204
Content Type : JSONapplication/json
Data Schema
object {0}
Example
Not configured
Last modified: 2 months ago