Authorization: Bearer ********************{
"usingActionsConfig": true,
"actions": [
{
"name": "view",
"scope": 350031254323200,
"fields": [
"店铺ID",
"店铺名称",
"联系电话"
]
}
]
}curl --location --request POST '/roles:dataSourceResources:update?roleName=storeOwner&filterByTk=dim_shops_default' \
--header 'X-SPACES: default' \
--header 'X-SPACES: {{space}}' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"usingActionsConfig": true,
"actions": [
{
"name": "view",
"scope": 350031254323200,
"fields": [
"店铺ID",
"店铺名称",
"联系电话"
]
}
]
}'