删除小程序引导卡片模板
小程序引导卡片模板为开发者提供了一种基于小程序卡片模板的消息发送方式,即应用创建卡片模板时只需传入卡片背景图、卡片标题、卡片文字描述等封面内容,在发送消息时再传入具体的卡片跳转地址。
使用限制
无。
接口说明
无。
基本信息
名称 | 描述 |
HTTP URL | https://open.douyin.com/api/douyin/v1/im/del_applet_template/ |
HTTP Method | POST |
Scope | im.microapp_card |
权限要求 |
|
请求头
名称 | 类型 | 是否必填 | 描述 |
Content-Type | string | true | 固定值 "application/json" |
access_token | string | true |
请求参数
Query
名称 | 类型 | 是否必填 | 描述 | 示例 |
card_template_id | string | true | 模板 ID,删除模板时传入 | @8hxdhauTCMppanGnM4ltGM780mDqPP+KPpR0qQOmLVAXb/T060zdRmYqig357zEBq6CZRp4NVe6qLIJW/V/x1w== |
请求示例
curl -X POST 'https://open.douyin.com/api/douyin/v1/im/del_applet_template/?card_template_id=%409VwWjvGUTp9kKW%2Bma4huFs7961vXA8a8BatPlzSYEW9LXs%2FTnnmopzn9582jQXZQ' -H 'Content-Type:application/json; charset=utf-8' -H 'access-token:clt.943da17996fb5cebfbc70c044c3fc25a57T54DcjT6HNKGqnUdxzy1' --data ''
响应参数
名称 | | 类型 | 是否必填 | 描述 | 示例 |
extra | | struct | false | | |
| description | string | true | 错误码描述 | |
| error_code | int | true | 错误码 | 0 |
| logid | string | true | 标识请求的唯一 id | 202008121419360101980821035705926A |
| now | int | true | 毫秒级时间戳 | 1597213176393 |
| sub_description | string | true | 子错误码描述 | |
| sub_error_code | int | true | 子错误码 | 0 |
响应示例
正常示例
{ "extra": { "logid": "2022081013405301017425518105798161", "error_code": 0, "description": "", "sub_error_code": 0, "sub_description": "", "now": 1660110053 }, "data": { "error_code": 0, "description": "" } }
异常示例
{ "extra": { "sub_description": "", "sub_error_code": 0, "description": "参数不合法", "error_code": 2100005, "logid": "202203271807199888808121990491456D", "now": 1648375639 }, "data": { "error_code": 2100005, "description": "参数不合法" } }
错误码
HTTP 状态码 | 错误码 | 描述 | 排查建议 |
200 | 0 | 请求成功 | |