跳转至

海外 ACDN 分发配置

POST 批量修改分发状态

POST /prod-api/acdn/cloudfrontRest/batchUpdateDistributionStatus

Body 请求参数

{
  "ids": [39],
  "status": 0
}

请求参数

名称 位置 类型 必选 中文名 说明
Authorization header string none
body body UpdateDistributionStatusVo UpdateDistributionStatusVo none

返回示例

200 Response

{
  "msg": "修改成功",
  "code": 200
}

201 Response

{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK none Inline
201 Created none Inline
401 Unauthorized none Inline
403 Forbidden none Inline
404 Not Found none Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文名 说明
» msg string true none none
» code integer true none none

数据模型

UpdateDistributionStatusVo

{
  "ids": [0],
  "status": 0
}

UpdateDistributionStatusVo

属性

名称 类型 必选 约束 中文名 说明
ids [integer] true none ID none
status integer(int32) true none 状态 1:表示启用
0:表示禁用