Delete website of a web hosting package
Delete one website (vHost) of a web hosting package - its files stay.
manitu_webhosting_web_vhost_delete on https://mcp.manitu.de/mcpAnnotations as tools/list sends them
Description for the model
Deletes a website (vHost) of a web hosting package of the manitu customer account this connection works in, by site_id and fqdn from manitu_webhosting_web_vhost_list. The name then shows nothing; the files in its folder stay. A websitebuilder is deleted with its editor, its folder is moved into the package's tmp folder. A website with aliases needs aliases: delete (they go with it) or convert (each becomes a website of its own and keeps showing what it showed); without it the answer is a conflict (has_aliases) naming them: ask the customer which. 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 website from manitu_webhosting_web_vhost_list, e.g. www.example.de. Never guess one.
aliasesstringFor a website with aliases - required then: delete (they go with it) or convert (each becomes a website of its own).
Result structuredContent, checked against the schema
fqdnstringrequiredThe website deleted.
alias_listarray of stringrequiredIts aliases - deleted with it, or websites of their own now (see aliases).
aliasesstring | nullrequiredWhat became of them - null if it had none.
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 website from manitu_webhosting_web_vhost_list, e.g. www.example.de. Never guess one.
aliasesstringFor a website with aliases - required then: delete (they go with it) or convert (each becomes a website of its own).
Response in data; the rest of the body as on every call
fqdnstringrequiredThe website deleted.
alias_listarray of stringrequiredIts aliases - deleted with it, or websites of their own now (see aliases).
aliasesstring | nullrequiredWhat became of them - null if it had none.
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.