Authorization: Bearer ********************{
"resourceName": "dim_shops_default",
"name": "数据范围(已更新)",
"scope": {
"allowUsers": {
"id": "{{ ctx.state.currentUser.id }}"
}
}
}curl --location --request POST '/dataSources/yiask/rolesResourcesScopes:update?filterByTk=350031254323200' \
--header 'X-SPACES: default' \
--header 'X-SPACES: {{space}}' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"resourceName": "dim_shops_default",
"name": "数据范围(已更新)",
"scope": {
"allowUsers": {
"id": "{{ ctx.state.currentUser.id }}"
}
}
}'