应用类型 | 是否支持调用 | 权限申请方式 | API Explorer调试 |
---|---|---|---|
企业内部应用 | 是 | 开发者后台申请 | 调试 |
第三方企业应用 | 否 | — | — |
第三方个人应用 | 否 | — | — |
{
"role_id": 12345,
"dept_ids": "1231,2423",
"userid": "EMP123"
}
curl --location --request POST 'http://127.0.0.1/topapi/role/scope/update?access_token=Be3xxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"role_id": 12345,
"dept_ids": "1231,2423",
"userid": "EMP123"
}'
{
"errcode": 0,
"errmsg": "string",
"request_id": "string"
}