更新授权小程序授权信息
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
https://developer.toutiao.com/auth/entity/update_authletter
接口说明
注意事项
基本信息
基本 | |
---|---|
HTTP URL | 正式环境:https://developer.toutiao.com/auth/entity/update_authletter 沙盒环境:https://open-sandbox.douyin.com/auth/entity/update_authletter |
HTTP Method | POST |
权限要求 | AccessToken鉴权 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://developer.toutiao.com/auth/entity/update_authletter' \
--header 'Aweme-Check-Type;' \
--header 'Content-Type: application/json' \
--data-raw '{
"appid": "tt427e34c3dd07777601",
"access_token": "08011218463077394777xa45363371682f48762f4cxxx6974513d3d",
"partner_entity_id": "E_7208933888470106156",
"merchant_entity_id": "E_7208933889593688108",
"industry_code": 10000,
"merchant_industry_role": 2,
"auth_letters": [
{
"material_type": 1006,
"material_expiretime": "2036-06-06",
"material_paths": [
"certification/resource/eb7722dc38afa5c6503053c6d1efa51f"
]
}
],
"desc": "你好啊",
"icon": "certification/resource/eb7722dc38afa5c6503053c6d1efa51f",
"nick": "好好好"
}'
响应示例响应示例
{
"err": {
"err_code": 0,
"err_msg": "string"
},
"audit_taskid": "string"
}
请求参数
Header 参数
Content-Type
string
必需
Aweme-Check-Type
string
可选
Body 参数application/json