Inhaltsverzeichnis dieser Seite

Funktion

Der Auftragstyp ZoneCommentUpdate aktualisiert den Zonen-Kommentar.

Beschreibung

Route: PUT  ​/zone​/{name}​/{systemNameServer}​/_comment

Request
{
	"comment": "new example comment"
}
Response
{
   "stid": "20190701-app2-dev-23170",
   "status": {
      "code": "S0202004",
      "text": "Zonen-Kommentar wurde erfolgreich geändert.",
      "type": "SUCCESS"
   },
   "object": {
      "type": "Zone",
      "value": "examplezone.com"
   }
}

Auftragstyp-Code: 0202004
Verwendet Objekt
Zone

Request
<request>
    <auth>
        <user>customer</user>
        <password>password</password>
        <context>4</context>
    </auth>
    <task>
        <code>0202004</code>
        <default>
            <comment>Kommentar</comment>
        </default>
        <zone>
            <name>example.com</name>
            <!-- Wenn die Zone auf verschiedenen Nameservern vorhanden ist, wird Folgendes benötigt, um anzugeben, welche Zone geändert werden soll-->
            <!--
			<system_ns>ns1.nameserver.com</system_ns>
			-->
            <comment>Kommentar</comment>
        </zone>
    </task>
</request>
Response
<response >
    <result>
        <msg>
            <code>S0202004</code>
            <type>success</type>
            <object>
                <type>zone</type>
                <value>example.com</value>
            </object>
        </msg>
        <status>
            <code>S0202004</code>
            <type>success</type>
        </status>
    </result>
</response>