Inhaltsverzeichnis dieser Seite

Funktion

Der Auftragstyp MailProxyDelete löscht MailProxy-Einträge.

Dieser Auftragstyp ist in der XML-API bulk-fähig, d. h. du kannst die MailProxy-Einträge für mehrere Domains in einem Auftrag löschen.

Beschreibung

Route: DELETE /mailProxy/{domain}
Es muss kein Body mitgeschickt werden.

Request
{
}
Response
{
   "stid": "20190919-stid",
   "status": {
      "code": "S0513",
      "text": "MailProxy wurde erfolgreich geloescht.",
      "type": "SUCCESS"
   },
   "object": {
      "type": "MailProxy",
      "value": "example.com"
   }
}

Auftragstyp-Code: 0513
Verwendet Objekt MailProxy

Request
<request>
	<auth>
		<user>customer</user>
		<password>password</password>
		<context>4</context>
	</auth>
	<task>
		<code>0513</code>
		<mail_proxy>
			<domain>example.de</domain>
		</mail_proxy>
		mail_proxy>
			<domain>example2.com</domain>
		</mail_proxy>
		<mail_proxy>
			<domain>example3.com</domain>
		</mail_proxy>
		-->
		<reply_to>EMAIL</reply_to>
		<ctid>customer-transaction-id</ctid>
	</task>
</request>
Response
<response>
	<result>
		<msg>
			<text>MailProxy wurde erfolgreich geloescht.</text>
			<code>S0513</code>
			<type>success</type>
			<object>
				<type>mailproxy</type>
				<value>example165.com</value>
			</msg>
			<object>
				<type>mailproxy</type>
				<value>example1695.de</value>
			</object>
		</msg>
		<msg>
			<text>MailProxy wurde erfolgreich geloescht.</text>
			<code>S0513</code>
			<type>success</type>
			<object>
				<type>mailproxy</type>
				<value>beispiel-24.net</value>
			</object>
		</msg>
		<status>
			<code>N0513</code>
			<text>Der MailProxy-Auftrag wurde erfolgreich verarbeitet.</text>
			<type>notify</type>
		</status>
	</result>
	<ctid>customer-transaction-id</ctid>
	<stid>20150427-stid</stid>
</response>