删除源站池接口
更新时间:2026-10-14
接口
本接口用于删除站点所属的源站池。
请求接口
| Method | Path | 说明 |
|---|---|---|
| POST | /v2/geo/origin-pool?action=delete | 删除源站池 |
请求体
| 字段名称 | 类型 | 是否必须 | 说明 |
|---|---|---|---|
| site | String | 是 | 站点名称 |
| originPoolId | String | 是 | 源站池Id |
响应码
| HTTP Status Code | 说明 |
|---|---|
| 200 | 删除成功 |
| 400 | 源站池删除请求参数无效 |
| 500 | 服务端错误 |
响应体
| 参数 | 类型 | 说明 |
|---|---|---|
| success | Bool | 修改源站池成功 |
请求示例
Plain Text
1POST /v2/geo/origin-pool?action=delete HTTP/1.1
2Host: geo.baidubce.com
3Authorization: xxx
4Content-Type: application/json;charset=utf-8
5Accept-Encoding: gzip
6{
7 "site": "test-eo.com",
8 "originPoolId": "geo_tZhP32iF2mWU"
9}
响应示例
Plain Text
1HTTP/1.1 200 OK
2Server: nginx/1.16.1
3Content-Type: application/json; charset=utf-8
4Transfer-Encoding: chunked
5Connection: keep-alive
6{
7 "success": true
8}
评价此篇文章
