功能介绍:重置一个或多个实例与标签的绑定关系。
POSThttps://[endpoint].ctapi.ctyun.cn/v1/instLable/spuInstLabel/reset
Content-Type:application/json
请求体参数说明:
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
---|---|---|---|---|
items | Array | 是 | 重置项 | |
items.binds | Array | 否 | 绑定列表 | |
items.binds.code | testCode11 | String | 是 | 标签编码 |
items.binds.id | 36 | Integer | 是 | 标签id |
items.remark | String | 否 | 备注 | |
items.spuInstId | 679412759292544000 | String | 是 | 实例标识 |
items.unBinds | Array | 否 | 解绑列表 | |
items.unBinds.code | testCode13 | String | 是 | 标签编码 |
items.unBinds.id | 38 | Integer | 是 | 标签id |
返回参数说明:
参数名 | 示例值 | 参数类型 | 参数描述 |
---|---|---|---|
statusCode | 800 | Integer | 响应码描述 |
returnObj | Object | 数据实体 | |
message | success | String | 提示信息 |
请求示例:
POST https://dcs2-global.ctapi.ctyun.cn/v1/instLable/spuInstLabel/reset
[
{
"binds": [
{
"code": "testCode11",
"id": 36
},
{
"code": "testCode12",
"id": 37
}
],
"remark": "",
"spuInstId": "679412759292544000",
"unBinds": [
{
"code": "testCode13",
"id": 38
},
{
"code": "testCode14",
"id": 39
}
]
}
]
返回示例:
{
"statusCode": 800,
"message": "success",
"returnObj": null
}