TYPE | Request
|
Category | Objects |
Description
Object: HostingCancelRequest
Properties
name |
type |
required |
default |
description |
reason |
string |
yes |
|
this field is required for conflict resolution purposes. E.g. you delete something through the api, and a customer blames you. Can be useful to put a ticket id or order id from your system in here |
domain |
string |
yes |
|
For validation we check if the hosting is actually linked to the domain |
immediate |
object: boolean |
no |
|
if set to true it will immediately cancel and delete the hosting package. This can not be undone |
Sample JSON
{
"reason": "e.g. an order id or cancellation id or something, this is logged for conflict resolution purposes",
"domain": "example.com",
"immediate": false
}