Updates the business metadata for a data table in Data Map. You can update only the table's Readme and custom attributes.
Operation description
You must purchase DataWorks Basic Edition or a later version to use this operation.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
string |
Yes |
The table ID. For the format, refer to the response of the ListTables operation. |
maxcompute-table:::project_name:[schema_name]:table_name |
| Readme |
string |
No |
The Readme, which supports rich text format. |
## introduction |
| CustomAttributes |
object |
No |
The custom attribute values. The key is the custom attribute identifier, and the value contains at most one element. An empty list indicates that the attribute value is deleted. If you do not pass the Readme parameter, you can pass this parameter to avoid clearing the Readme. An empty object indicates that custom attributes are not updated. |
{"biz_owner":["John"]} |
|
array |
No |
The array of custom attribute values. Currently, only single-value arrays are supported. |
||
|
string |
No |
The attribute value. |
John |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
7C352CB7-CD88-XXXXXXX |
| Success |
boolean |
Indicates whether the request was successful. |
true |
Examples
Success response
JSON format
{
"RequestId": "7C352CB7-CD88-XXXXXXX",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.