Get table permissions
get
/20260430/aiDataPlatforms/{aiDataPlatformId}/tables/{tableKey}/permissions
Returns a list of permissions for a given table.
Request
Path Parameters
-
aiDataPlatformId(required): string
The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the AI Data Platform (Data Lake) instance.
-
tableKey(required): string
The fully qualified name of the table in the format
. . .
Query Parameters
-
limit: integer
Minimum Value:
1Maximum Value:1000For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).Default Value:100 -
page: string
Minimum Length:
1For list pagination. The value of the opc-next-page response header from the previous "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine). -
sortBy: string
The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.Default Value:
timeCreatedAllowed Values:[ "timeCreated", "displayName" ] -
sortOrder: string
The sort order to use, either ascending (`ASC`) or descending (`DESC`).Allowed Values:
[ "ASC", "DESC" ]
Header Parameters
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
-
should-update-recent: boolean
A flag to identify if the recent list should be updated.Default Value:
false
Response
Supported Media Types
- application/json
200 Response
Successful operation. List of table permissions is retrieved.
Headers
-
opc-next-page: string
For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items.
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : TablePermissionCollection
Type:
objectList of table permissions.
Show Source
-
items(required):
array items
List of table permissions.
Nested Schema : items
Type:
arrayList of table permissions.
Show Source
-
Array of:
object TablePermissionSummary
Information about a table permission.
Nested Schema : TablePermissionSummary
Type:
objectInformation about a table permission.
Show Source
-
columns:
array columns
Maximum Number of Items:
100The list of the columns included for permission assignment. -
excludeColumns:
array excludeColumns
Maximum Number of Items:
100The list of the columns excluded from permission assignment. -
grantee(required):
string
Minimum Length:
1Maximum Length:255The OCID of user/group and name in case of role. -
granteeName:
string
Minimum Length:
1Maximum Length:255The simplified name of the grantee. -
granteePermissions(required):
array granteePermissions
Maximum Number of Items:
100The selected permissions for a table. -
granteeType(required):
string
Allowed Values:
[ "USER", "ROLE", "GROUP" ]The type of grantee. -
isInherited:
boolean
If the permission listed is inherited or not from object higher up in hierarchy.
-
resourceName:
string
Name of the object to which this permission belong to. Name of table if permission is not inherited or name of object higher up in hierarchy if permission is inherited.
Nested Schema : columns
Type:
arrayMaximum Number of Items:
100The list of the columns included for permission assignment.
Show Source
Nested Schema : excludeColumns
Type:
arrayMaximum Number of Items:
100The list of the columns excluded from permission assignment.
Show Source
Nested Schema : granteePermissions
Type:
arrayMaximum Number of Items:
100The selected permissions for a table.
Show Source
-
Array of:
string
Allowed Values:
[ "SELECT", "MANAGE", "WRITE", "INSERT", "UPDATE", "DELETE", "ALTER", "ADMIN" ]
400 Response
Bad Request (invalid query parameters, malformed headers, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
401 Response
Unauthorized (missing or expired credentials, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
404 Response
Not Found. The requested resource was not found.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
429 Response
Too Many Requests. Too many requests sent to the server in a short period.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
500 Response
Internal Server Error. The server encountered an unexpected condition preventing fulfilment of the request.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
Default Response
Unknown Error. Error is not recognized by the system.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.