Path:/openapi/v1/{app_id}/cohorts/{cohort_id}
Method: DELETE
Content-type: application/json
Path-parameters:
Parameter | Type | Description | Required |
---|---|---|---|
cohort_id | int | 分群ID | true |
Response:
{ "code": 200, "message": "success", "data": null }
bc
为创建的 RangersClient, 其初始化请参考 “OpenAPI SDK 使用说明”, 各语言的 SDK 都提供了类似的接口
调用(Python):
# 例如,app_id= 164314 cohort id= 1001076 res = bc.data_finder('/openapi/v1/164314/cohorts/1001076', method='delete') print(res.content)
返回结果:
{ "code": 200, "message": "success", "data": null }