Skip to main content
Version: latest

删除分组

接口概述#

  • 功能:删除分组
  • 请求方式:POST
  • 请求地址:/api/contacts/teams/{team_id}/groups/batch_delete

请求参数#

参数名类型必须参数位置描述示例值
team_idintegeruri团队ID30
group_idsarray[integer]body分组ID列表[6008,6009]

响应参数#

请求示例#

{    "group_ids": [6008, 6009]}

响应示例#

  • 请求成功
{    "code": "OK",    "error": {        "type": ""    },    "data": {},    "request_id": "5797836d-a88e-44ef-afd4-56b25d810214"}
  • 请求失败
{    "code": "NotFound",    "error": {        "type": "contacts_group_not_found"    },    "data": {},    "request_id": "6cf30c83-a691-40af-b27c-c1dd9b3c9e80"}

错误码#

error.type 错误代码错误描述
invalid_param参数校验不通过
claim_error无权限
contacts_group_not_found数据不存在