curl --location -g --request GET 'http://127.0.0.1/cgi-bin/school/agent/get_allow_scope?access_token={{accesstoken}}&agentid={{agentid}}'
{
"errcode": 0,
"allow_scope": {
"students": [
{
"userid": "string"
}
],
"departments": [
0
]
},
"errmsg": "string"
}