Skip to content

创建失效

POST /prod-api/acdn/cloudfrontRest/outCreateInvalidation

Body 请求参数

{
  "distributionName": "E3A0Z4",
  "paths": [
    "/ztlll"
  ]
}

请求参数

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

返回示例

成功

{
  "msg": "更新成功",
  "code": 200
}

201 Response

{}

返回结果

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

返回数据结构

状态码 200

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

数据模型

PutInvalidationVo

{
  "distributionId": 0,
  "paths": [
    "string"
  ]
}

PutInvalidationVo

属性

名称 类型 必选 约束 中文名 说明
distributionName integer(int64) true 分配 none
paths [string] true none 添加对象路径 none