Delete subdomain of a web hosting package
Delete one subdomain of a web hosting package that nothing uses.
manitu_webhosting_subdomain_delete on https://mcp.manitu.de/mcpAnnotations as tools/list sends them
Description for the model
Deletes a subdomain of a web hosting package of the manitu customer account this connection works in, by site_id and fqdn from manitu_webhosting_subdomain_list. Only one nothing uses: a website (vHost) or mail addresses at it give a conflict (in_use, saying what) - remove those first, with the customer. Its records go from the DNS zone of the domain only where the zone is at manitu; elsewhere (dns_zone: not_at_manitu) the customer removes them himself at his DNS provider - do not say they are gone before the answer says dns_zone: updated. Files and mail are not touched. Refused with a conflict when the package cannot be changed now (not_configurable). Ask the customer for an explicit yes first.
Arguments
site_idinteger | stringrequiredThe site_id from manitu_webhosting_list - never guess one.
fqdnstringrequiredThe subdomain from manitu_webhosting_subdomain_list, e.g. cloud.example.de. Never guess one.
dns_zone_updatebooleanMerge manitu's records for the subdomain into the DNS zone of the domain (default true). false only if the customer keeps the zone by hand - then he must set the records himself.
Result structuredContent, checked against the schema
fqdnstringrequiredThe subdomain deleted.
dns_zonestringrequiredWhat became of the DNS zone of the domain: updated - manitu's records for the subdomain were merged in (the customer's own MX, A and AAAA kept where possible; changes made by hand should be checked); skipped - not asked for or nothing to change; not_at_manitu - the zone is elsewhere, the customer must set the records there, else the subdomain does not work; failed - the subdomain is saved, the zone not - the customer should check it.
Authentication
One of X-API-Key, Authorization: Bearer … - never more than one in a request. More
Request body JSON; unknown fields are refused
site_idinteger | stringrequiredThe site_id from manitu_webhosting_list - never guess one.
fqdnstringrequiredThe subdomain from manitu_webhosting_subdomain_list, e.g. cloud.example.de. Never guess one.
dns_zone_updatebooleanMerge manitu's records for the subdomain into the DNS zone of the domain (default true). false only if the customer keeps the zone by hand - then he must set the records himself.
Response in data; the rest of the body as on every call
fqdnstringrequiredThe subdomain deleted.
dns_zonestringrequiredWhat became of the DNS zone of the domain: updated - manitu's records for the subdomain were merged in (the customer's own MX, A and AAAA kept where possible; changes made by hand should be checked); skipped - not asked for or nothing to change; not_at_manitu - the zone is elsewhere, the customer must set the records there, else the subdomain does not work; failed - the subdomain is saved, the zone not - the customer should check it.
Statuses
200Success.400The request does not match the declared input schema.401No credential was presented, or it was not recognised.403The credential is not permitted to use this operation.500The server failed. Nothing about the request was wrong. Whether a change took effect is not known - check before trying it again.503The channel this operation forwards through is unavailable.