dingtalk.oapi.microapp.custom.delete (定制应用删除)

定制应用删除

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
agent_id Number 可选 111 定制应用id
app_corp_id String 可选 dingxxxxxx 定制应用所属企业

响应参数

名称 类型 示例值 描述
errmsg String ok 错误码文案
errcode Number 0 错误码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
DingTalkClient client = new DefaultDingTalkClient("https://eco.taobao.com/router/rest");
OapiMicroappCustomDeleteRequest req = new OapiMicroappCustomDeleteRequest();
req.setAgentId(111L);
req.setAppCorpId("dingxxxxxx");
OapiMicroappCustomDeleteResponse rsp = client.execute(req, access_token);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<dingtalk_oapi_microapp_custom_delete_response>
    <errmsg>ok</errmsg>
    <errcode>0</errcode>
</dingtalk_oapi_microapp_custom_delete_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部