Updates the attributes of fields in a label table. You can modify the attributes of existing fields, but you cannot add or delete fields, or change field names and types.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
featurestore:UpdateLabelTable |
update |
*All Resource
|
None | None |
Request syntax
PUT /api/v1/instances/{InstanceId}/labeltables/{LabelTableId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. You can obtain the ID by calling the ListInstances operation. |
featurestore-test1 |
| LabelTableId |
string |
Yes |
The label table ID. You can obtain the ID by calling the ListLabelTables operation. |
3 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| Name |
string |
No |
The name of the label table. |
rec_test |
| DatasourceId |
string |
No |
The ID of the data source for the label table. |
3 |
| Fields |
array<object> |
Yes |
The fields to modify. |
|
|
object |
No |
A field object. |
||
| Name |
string |
Yes |
The name of the field. |
lat |
| Type |
string |
Yes |
The data type of the field. |
DOUBLE |
| Attributes |
array |
Yes |
The field's attributes. |
|
|
string |
No |
A field attribute. |
Partition |
|
| AlignedEntityName |
string |
No |
item |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77 |
Examples
Success response
JSON format
{
"RequestId": "728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.