Table of Contents

Function

The MailproxyDelete task deletes MailProxy entries.

This job type is bulk-capable, i.e. you can delete the MailProxy entries for several domains in one job.

Description

Route: DELETE /mailProxy/{domain}
There is no need to send a body.

Request
{
}
Response
{
   "stid": "20190919-app3-dev-8067",
   "status": {
      "code": "S0513",
      "text": "MMailProxy has been deleted successfully.",
      "type": "SUCCESS"
   },
   "object": {
      "type": "MailProxy",
      "value": "example.com"
   }
}

Task code: 0513
Uses MailProxy object

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 has been deleted successfully. </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 has been deleted successfully. .</text>
			<code>S0513</code>
			<type>success</type>
			<object>
				<type>mailproxy</type>
				<value>beispiel-24.net</value>
			</object>
		</msg>
		<status>
			<code>N0513</code>
			<text>MailProxy request has been processed successfully</text>
			<type>notify</type>
		</status>
	</result>
	<ctid>customer-transaction-id</ctid>
	<stid>20150427-app1-test-6478</stid>
</response>