删除加速域名接口
更新时间:2020-07-22
本接口用于删除指定的域名,此域名必须是本用户的,否则会返回403失败。
Method | Path | 说明 |
---|---|---|
DELETE | /v2/domain/{domain} | 删除一个加速域名 |
domain:需要删除的加速域名
响应码 (Http Status Code)
HTTP Status Code | 说明 |
---|---|
200 | 成功 |
404 | 域名不存在或不属于当前用户 |
响应体 (Response Body)
{"status":0}
请求示例
Plain Text
1DELETE /v2/domain/1.test.com HTTP/1.1
2Host: cdn.baidubce.com
3Accept: */*
4Content-Length: 0
5Content-Type: application/x-www-form-urlencoded
响应示例
Plain Text
1HTTP/1.1 200 OK
2Server: nginx
3Date: Tue, 26 Jul 2016 05:05:30 GMT
4Content-Type: application/json; charset=utf-8
5Connection: keep-alive
6
7{"status":0}