API Documents
文档目录
    加载中
文档中心 API Documents Remark a Domain

Remark a Domain

1. API Description

This API (Domain.Remark) is used to eemark a domain.
Domain name for API request:https://api.dnspod.com/Domain.Remark
HTTP request method: POST

2. Request Parameters

The table below lists only the API request parameters. Common request parameters are required when the API is called. For more information, please see Common Request Parameters.

Parameter Required Description
domain_id OR domain yes Stand for the id and the name of the domain. You only need to and must set one of them.
remark yes The remark information,or empty for deleting.

3. Response Codes

Only the response codes related to this API are listed below. For other response codes, please see Common Return Codes.

Response Code Description
6 Invalid domain id.

4. Sample

curl -X POST https://api.dnspod.com/Domain.Remark -d 'login_token=730060,e1a8a$f14dc5dcbafd83680b3d2a553c4d553d&format=json&domain_id=2059079&remark=This domain name needs to be noted'

The following is a sample response:

  • JSON:
{
    "status": {
        "code": "1",
        "message": "Action completed successful",
        "created_at": "2012-09-23 17:50:37"
    }
}
最近更新于 2022-03-11 02:03

DNSPod 域名检测工具

查询域名信息,快速排查网站问题

官方微信群

加入微信群,一起畅聊,一起吐槽

打开微信扫一扫