curl --location --request POST 'https://qyapi.weixin.qq.com/cgi-bin/wedoc/mod_doc_join_rule' \
--header 'Content-Type: application/json' \
--data-raw '{
"docid": "string",
"enable_corp_internal": true,
"corp_internal_auth": 0,
"enable_corp_external": true,
"corp_external_auth": 0,
"corp_internal_approve_only_by_admin": true,
"corp_external_approve_only_by_admin": true,
"ban_share_external": true,
"update_co_auth_list": true,
"co_auth_list": [
{
"departmentid": "string",
"auth": 0,
"type": 0
}
]
}'
{
"errcode": 0,
"errmsg": "ok"
}
【企业微信】API开发者 微信交流群
用微信扫右侧二维码,加入【企业微信】API开发者 交流群,互助沟通