All Products
Search
Document Center

Direct Mail:DeleteDomain

Last Updated:Oct 08, 2023

You can call this operation to delete a domain name.

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

DomainId

Integer

Yes

404053

The ID of the domain name.

Action

String

Yes

DeleteDomain

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

Response parameters

Parameter

Type

Example

Description

RequestId

String

B3610AA4-86AD-5874-9DE8-2CAAADFA5022

The ID of the request.

Examples

Sample requests

http(s)://dm.aliyuncs.com/? Action=DeleteDomain
&DomainId=404053
&<Common request parameters>

Sample success responses

JSON format

{
"RequestId": "B3610AA4-86AD-5874-9DE8-2CAAADFA5022"
}

Error codes

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