调用StopDomain停用域名。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | StopDomain |
系统规定参数,取值:StopDomain。 |
Domain | String | 是 | example.com |
域名。 |
Version | String | 是 | 2017-04-11 |
版本号。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
Code | Integer | 0 |
业务码,成功返回0。 |
RequestId | String | 9B9F0410-C648-4232-A424-7574905B7982 |
请求ID。 |
ResourceId | String | tu9lfh |
域名资源ID。 |
示例
请求示例
http://pcdn.aliyuncs.com/?Action=StopDomain
&Domain=example.com
&Version=2017-04-11
&<公共参数>
正常返回示例
XML
格式
<StopDomainResponse>
<code>0</code>
<ResourceId>tu9lfh</ResourceId>
<requestId>9B9F0410-C648-4232-A424-7574905B7982</requestId>
</StopDomainResponse>
JSON
格式
{
"code": 0,
"ResourceId": "tu9lfh",
"requestId": "9B9F0410-C648-4232-A424-7574905B7982"
}
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | MissingParameter | You must specify domainName. | 请求中缺少必要的参数domainName |
访问错误中心查看更多错误码。