Skip to main content
Version: latest

删除成员

接口概述#

  • 功能:删除用户
  • 请求方式:DELETE
  • 请求地址:/api/contacts/teams/{team_id}/groups/{group_id}/users/{user_id}

请求参数#

参数名类型必须参数位置描述示例值
team_idintegeruri团队ID30
group_idintegeruri分组ID30
user_idintegeruri用户ID30

响应参数#

响应示例#

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

错误码#

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