Update Data Tables Access Rights for a Group
post
/rest/v16/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:
object
Title:
Show Source
Data Table Access Rights
-
folderVarName(required):
string
Title:
FolderVarName
Folder variable name. -
items:
array items
Nested Schema : items
Type:
Show Source
array
-
Array of:
object Table Access Rights
Title:
Table Access Rights
Table access right details.
Nested Schema : Table Access Rights
Type:
object
Title:
Table Access Rights
Table access right details.
Show Source
-
accessType(required):
string
Title:
Access Type
Allowed Values:[ "FULL", "READ", "EDIT", "NONE" ]
Access type. -
name(required):
string
Title:
Table Name
Name 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 -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v16/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" } ] } ] }