Update Data Tables Access Rights for a Group
post
/rest/v19/companies/{companyLoginName}/groups/{groupVarName}/segments/_dataTables/actions/updateAccessRights
This endpoint updates data tables access rights for a group.
Request
Supported Media Types
- application/json
Path Parameters
-
companyLoginName(required): string
Company login name.
-
groupVarName(required): string
Group variable name.
Nested Schema : items
Type:
Show Source
array-
Array of:
object Data Table Access Rights
Title:
Data Table Access Rights
Nested Schema : Data Table Access Rights
Type:
objectTitle:
Show Source
Data Table Access Rights-
folderVarName(required):
string
Title:
FolderVarNameFolder variable name. -
items:
array items
Nested Schema : items
Type:
Show Source
array-
Array of:
object Table Access Rights
Title:
Table Access RightsTable access right details.
Nested Schema : Table Access Rights
Type:
objectTitle:
Table Access RightsTable access right details.
Show Source
-
accessType(required):
string
Title:
Access TypeAllowed Values:[ "FULL", "READ", "EDIT", "NONE" ]Access type. -
name(required):
string
Title:
Table NameName of the table.
Response
Default Response
No Content.
Examples
The following example updates the data table access rights for a group by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X POST -H "Authorization: Bearer <token>" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/companies/visionServices/groups/midwestTestGroup/segments/ _dataTables/folders/_default/accessRights
Request Body Sample
"items": [{
"folderVarName": "_default",
"items": [{
"name": "DataTable1",
"accessType": "READ"
}, {
"name": "dn_sample_wtpSegmnts",
"accessType": "FULL"
}, {
"name": "LiveTable",
"accessType": "EDIT"
}, {
"name": "Status",
"accessType": "NONE"
}, {
"name": "table_100columns",
"accessType": "READ"
}
]
}, {
"folderVarName": "aBOTables",
"items": [{
"name": "Oracle_aboPart2Model",
"accessType": "FULL"
}
]
}, {
"folderVarName": "bMQL",
"items": [{
"name": "BMQL_TestCases",
"accessType": "FULL"
}, {
"name": "BMQLTest_Indexed",
"accessType": "READ"
}, {
"name": "BMQLTest_NotIndexed",
"accessType": "EDIT"
}, {
"name": "BMQLTest_Small",
"accessType": "NONE"
}
]
}
]
}