Authorization: Bearer ********************{
"description": "技术部可编辑 v2",
"audience": {
"type": "all"
},
"data_range": "all",
"column_permissions": {
"fld_name": "editable",
"fld_age": "editable"
},
"allow_create": true,
"allow_delete": true
}curl --location --request PUT 'https://app.emooai.com/open-api/v1/data/table//permissions/' \
--header 'Emoo-User-Id: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"description": "技术部可编辑 v2",
"audience": {
"type": "all"
},
"data_range": "all",
"column_permissions": {
"fld_name": "editable",
"fld_age": "editable"
},
"allow_create": true,
"allow_delete": true
}'{
"code": 200,
"message": "success",
"data": {
"role_key": "string",
"description": "string",
"audience": {
"type": "all"
},
"data_range": "all",
"conditions": [
{
"field": "string",
"op": "eq",
"value": "string"
}
],
"column_permissions": {
"property1": "visible",
"property2": "visible"
},
"allow_create": true,
"allow_delete": true,
"allow_schema_update": true,
"allow_schema_delete": true
}
}