Delete subdomain of a web hosting package

Delete one subdomain of a web hosting package that nothing uses.

DDestructiveNot idempotentbetaNeeds service_webhosting
Tool
manitu_webhosting_subdomain_deleteon https://mcp.manitu.de/mcp
POST
/v1/webhosting/subdomain/deleteon https://api.manitu.de
Try it
Removes something for good. Agents name what will be lost and wait for an explicit yes; a program should ask the same.
readOnlyHint falsedestructiveHint trueidempotentHint falseopenWorldHint false

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.

site_idinteger | stringrequired

The site_id from manitu_webhosting_list - never guess one.

pattern ^[1-9][0-9]*$min 1
fqdnstringrequired

The subdomain from manitu_webhosting_subdomain_list, e.g. cloud.example.de. Never guess one.

min length 3max length 253
dns_zone_updateboolean

Merge 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.

fqdnstringrequired

The subdomain deleted.

dns_zonestringrequired

What 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.

One of updated skipped not_at_manitu failed

One of X-API-Key, Authorization: Bearer … - never more than one in a request. More

site_idinteger | stringrequired

The site_id from manitu_webhosting_list - never guess one.

pattern ^[1-9][0-9]*$min 1
fqdnstringrequired

The subdomain from manitu_webhosting_subdomain_list, e.g. cloud.example.de. Never guess one.

min length 3max length 253
dns_zone_updateboolean

Merge 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.

fqdnstringrequired

The subdomain deleted.

dns_zonestringrequired

What 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.

One of updated skipped not_at_manitu failed
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.