All Products
Search
Document Center

Direct Mail:DeleteReceiverDetail

Last Updated:Jan 03, 2023

Call DeleteReceiverDetail to delete a single recipient from the recipient list.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter

Type

Required

Example

Description

ReceiverId

String

Yes

123534

The ID of the recipient list.

AccessKeyId

String

No

xxx

The AccessKey ID provided to you by Alibaba Cloud.

Action

String

No

DeleteReceiverDetail

The operation that you want to perform. Set the value to DeleteReceiverDetail.

Email

String

Yes

<account name>+@+<domain name>

The single recipient to be deleted from the recipient list

Response parameters

Parameter

Type

Example

Description

RequestId

String

10A1AD70-E48E-476D-98D9-39BD92193837

The ID of the request.

Examples

Sample requests

http(s)://dm.aliyuncs.com/? Action=DeleteReceiverDetail
&ReceiverId=123534
&<Common request parameters>

Sample success responses

XML format

<DeleteReceiverDetailResponse>
      <RequestId>10A1AD70-E48E-476D-98D9-39BD92193837</RequestId>
</DeleteReceiverDetailResponse>

JSON format

{
	"RequestId":"10A1AD70-E48E-476D-98D9-39BD92193837"
}

Error codes

HTTP status code

Error code

Error message

Description

400

InvalidReceiverName.Malformed

The specified receiver name is wrongly formed.

The error message returned because the format of the recipient's email address is invalid. An email address must contain an account name, an at sign, and a domain name. The account name and domain name must contain digits, letters, underscores (_), hyphens (-), and periods (.).

400

InvalidReceiverStatus.Malformed

The specified receivers status is wrongly formed.

The error message returned because the status of the recipient is invalid. Check whether the recipient has been uploaded to the console.

For a list of error codes, visit the API Error Center.