curl --request POST \
--url {scheme}://{host}:{port}/{basePath}/v1/table/{id}/schema_metadata/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{}Update table schema metadata
Replace the schema metadata for table id with the provided key-value pairs.
REST NAMESPACE ONLY
REST namespace uses a direct object (map of string to string) as both request and response body
instead of the wrapped UpdateTableSchemaMetadataRequest and UpdateTableSchemaMetadataResponse.
A valid request URL is required to generate request examples{}Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
string identifier of an object in a namespace, following the Lance Namespace spec.
When the value is equal to the delimiter, it represents the root namespace.
For example, v1/namespace/$/list performs a ListNamespace on the root namespace.
Query Parameters
An optional delimiter of the string identifier, following the Lance Namespace spec.
When not specified, the $ delimiter must be used.
Body
Schema metadata key-value pairs
Response
Schema metadata update result
The updated schema metadata
Was this page helpful?