Update a table
put
/20260430/aiDataPlatforms/{aiDataPlatformId}/tables/{tableKey}
Updates a table with provided details.
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
. . .
Header Parameters
-
if-match: string
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
-
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
The information to be updated.
Root Schema : UpdateTableDetails
Type:
objectThe data to update a table.
Show Source
-
addTableFields:
array addTableFields
Maximum Number of Items:
100Columns for table. -
addTableProperties:
array addTableProperties
Maximum Number of Items:
10Table properties. -
description:
string
Table description.
-
displayName:
string
Table name.
-
dropTableFields:
array dropTableFields
Maximum Number of Items:
100Columns for table. -
dropTableProperties:
array dropTableProperties
Maximum Number of Items:
10Table properties. -
renameTableFields:
array renameTableFields
Maximum Number of Items:
100Columns for table. -
updateTableFields:
array updateTableFields
Maximum Number of Items:
100Update columns in table.
Nested Schema : addTableFields
Type:
arrayMaximum Number of Items:
100Columns for table.
Show Source
-
Array of:
object TableFieldDetails
Columns for table.
Nested Schema : addTableProperties
Type:
arrayMaximum Number of Items:
10Table properties.
Show Source
-
Array of:
object TableProperty
The property of the table.
Nested Schema : dropTableFields
Type:
arrayMaximum Number of Items:
100Columns for table.
Show Source
-
Array of:
object TableFieldDetails
Columns for table.
Nested Schema : dropTableProperties
Type:
arrayMaximum Number of Items:
10Table properties.
Show Source
-
Array of:
object TableProperty
The property of the table.
Nested Schema : renameTableFields
Type:
arrayMaximum Number of Items:
100Columns for table.
Show Source
-
Array of:
object RenameTableFieldDetails
Details for renaming column of a table.
Nested Schema : updateTableFields
Type:
arrayMaximum Number of Items:
100Update columns in table.
Show Source
-
Array of:
object UpdateTableFieldDetails
Details for updating column of a table.
Nested Schema : TableFieldDetails
Type:
objectColumns for table.
Show Source
-
fieldDescription:
string
Description of the column.
-
fieldName(required):
string
Minimum Length:
1Maximum Length:767Name of the column. -
fieldPrecision:
string
Minimum Length:
1Maximum Length:64Precision of the column. -
fieldScale:
string
Minimum Length:
1Maximum Length:64Scale of the column. -
fieldType:
string
Minimum Length:
1Maximum Length:9999Type of the column.
Nested Schema : TableProperty
Type:
objectThe property of the table.
Show Source
-
propertyName(required):
string
Minimum Length:
1Maximum Length:255Property name. -
propertyValue:
string
Minimum Length:
1Maximum Length:255Property value.
Nested Schema : RenameTableFieldDetails
Type:
objectDetails for renaming column of a table.
Show Source
-
fieldName(required):
string
Minimum Length:
1Maximum Length:767Name of the column. -
updatedFieldName(required):
string
Minimum Length:
1Maximum Length:767Updated name of the column.
Nested Schema : UpdateTableFieldDetails
Type:
objectDetails for updating column of a table.
Show Source
-
fieldDescription:
string
Description of the column.
-
fieldName(required):
string
Minimum Length:
1Maximum Length:767Name of the column.
Response
Supported Media Types
- application/json
202 Response
Request accepted. Table is updated.
Headers
-
aidp-async-operation-key: string
The key of the asynchronous operations associated with an AI Data Platform instance. Use GetAsyncOperation with this key to track the status of the request.
-
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.
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.
405 Response
Method Not Allowed. Request is recognized but not supported.
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.
412 Response
Precondition Failed (One or more conditions in request failed).
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.