跳到主要内容

删除 Webhook

接口概述

  • 功能:删除webhook数据
  • 请求方式: DELETE
  • 请求地址:/api/surveys/{survey_id}/webhooks/{webhook_id}?appid={appid}&access_token={access_token}

请求参数

参数名类型参数位置描述示例值
survey_idintegeruri问卷ID292190
webhook_idintegeruriwebhook ID42

响应参数

响应示例

  • 请求成功
{
"code": "OK",
"error": {
"type": "",
},
"info": "",
"data": {
"result": "success"
},
"request_id": "e4b27037-d876-427d-95c7-d5a737dd1677"
}
  • 请求失败
{
"code": "InvalidArgument",
"error": {
"type": "invalid_argument",
},
"data": {},
"request_id": "ddec96d2-165e-4f3e-8a64-2057db116983"
}

错误码

error.type 错误代码错误描述
not_found找不到数据
invalid_argument参数校验不通过
delete_error删除失败