Quote a server deletion
Returns what deleting the server right now would give back, broken down by the order that paid for each period and by each attached address. Nothing is charged, refunded or destroyed, and the figures are worked out again when the deletion itself runs.
Authorization
BearerToken AuthorizationBearer <token>
In: header
Path Parameters
server*integer
The server ID
Query Parameters
floating_ip_ids[]?array<integer>
Addresses attached to the server to delete along with it, counted in the total. An attached address left out is priced but not counted, and stays reserved for the account.
backup_ids[]?array<integer>
Stored backups of the server to delete along with it. Backups carry no refund of their own, so they never change the total.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/servers/0/refund-quote"{ "currency": "string", "refund_gross": "string", "services": [ { "model_type": "string", "model_id": 0, "label": "string", "excluded": true, "refund_gross": "string", "refund_gross_if_included": "string", "windows": [ { "label": "string", "elapsed_hours": 0, "coverage_hours": 0, "remaining_gross": "string", "refund_gross": "string" } ], "children": [ { "property1": null, "property2": null } ] } ]}