curl --location --request POST 'https://open.feishu.cn/open-apis/drive/permission/v2/public/' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"token": "doccntWNxstE5FDpAOFMOfZnMNf",
"type": "doc"
}'
{
"code": 0,
"data": {
"security_entity": "anyone_can_view",
"comment_entity": "anyone_can_view",
"share_entity": "only_me",
"link_share_entity": "tenant_editable",
"external_access": false,
"invite_external": false,
"permission_version": "1024"
},
"msg": "Success"
}
【飞书】API开发者 微信交流群
用微信扫右侧二维码,加入【飞书】API开发者 交流群,互助沟通