curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_create?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"space_name": "SPACE_NAME",
"auth_info": [{
"type": 1,
"userid": "USERID",
"auth": 7
}, {
"type": 2,
"departmentid": "DEPARTMENTID",
"auth": 1
}],
"space_sub_type": 0
}'
{
"errcode": 0,
"errmsg": "ok",
"spaceid": "SPACEID"
}
【企业微信】API开发者 微信交流群
用微信扫右侧二维码,加入【企业微信】API开发者 交流群,互助沟通