Delete DNS records of a name
Remove one record, or all records of one name and type, from the DNS zone of a domain.
manitu_domain_dns_record_delete on https://mcp.manitu.de/mcpAnnotations as tools/list sends them
Description for the model
Removes records from the DNS zone of a domain at manitu: the record of one name and type with the value given, or - without value - all records of that name and type. host is relative to the domain ("@" the domain itself); a value as in a zone file, a TXT the text itself. Nothing to remove changes nothing (changed false). Tell the customer what is removed and wait for an explicit yes - web site and e-mail of the domain depend on the zone; removing an A, MX or CNAME can take a site or mail off line. The NS records of the domain itself are manitu's. Refused with a conflict when manitu does not hold the zone (zone_not_primary_at_manitu), the domain is not active (zone_not_editable) or the zone changed since zone_revision (zone_changed). Every change counts the serial up and answers the new zone_revision - pass that one with the next change. A new serial after your own change is expected, not a change by someone else.
Arguments
namestringrequiredThe domain name, with international characters or in ASCII.
hoststringrequiredThe name of the record, relative to the domain: "@" for the domain itself, "www" for www.<domain>, "*.dev" for a wildcard - with international characters or in ASCII.
typestringrequiredThe record type.
zone_revisionstringOptional: zone_revision from manitu_domain_dns_zone_get or from the answer of your last change - refused with zone_changed if the zone changed since.
valuestringOnly the record with this value. Left out: all records of this name and type.
Result structuredContent, checked against the schema
namestringrequiredThe domain, with international characters.
hoststringrequiredThe name of the record, relative to the domain, in ASCII; "@" for the domain itself.
typestringrequiredchangedbooleanrequiredfalse: it was so already - nothing was stored.
ttlinteger | nullrequiredThe TTL of the records now, in seconds; null: the zone's default.
value_listarray of stringrequiredThe values of this host and type now, as stored - empty when there are none left.
zone_revisionstringrequiredThe revision of the zone now.
Authentication
One of X-API-Key, Authorization: Bearer … - never more than one in a request. More
Request body JSON; unknown fields are refused
namestringrequiredThe domain name, with international characters or in ASCII.
hoststringrequiredThe name of the record, relative to the domain: "@" for the domain itself, "www" for www.<domain>, "*.dev" for a wildcard - with international characters or in ASCII.
typestringrequiredThe record type.
zone_revisionstringOptional: zone_revision from manitu_domain_dns_zone_get or from the answer of your last change - refused with zone_changed if the zone changed since.
valuestringOnly the record with this value. Left out: all records of this name and type.
Response in data; the rest of the body as on every call
namestringrequiredThe domain, with international characters.
hoststringrequiredThe name of the record, relative to the domain, in ASCII; "@" for the domain itself.
typestringrequiredchangedbooleanrequiredfalse: it was so already - nothing was stored.
ttlinteger | nullrequiredThe TTL of the records now, in seconds; null: the zone's default.
value_listarray of stringrequiredThe values of this host and type now, as stored - empty when there are none left.
zone_revisionstringrequiredThe revision of the zone now.
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.