v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBReference Tables
Update reference table
Update a reference table by ID. You can update the table's data, description, and tags. Note: The source type cannot be changed after table creation. For data updates: For existing tables of type source:LOCAL_FILE, call POST api/v2/reference-tables/uploads first to get an upload ID, then PUT chunks of CSV data to each provided URL, and finally call this PATCH endpoint with the upload_id in file_metadata. For existing tables with source: types of S3, GCS, or AZURE, provide updated access_details in file_metadata pointing to a CSV file in the same type of cloud storage.
patch/api/v2/reference-tables/tables/{id}
Path parameters
idstring required
Unique identifier of the reference table to update
Request body
Example request
{
"data": {
"attributes": {
"description": "this is a cloud table generated via a cloud bucket sync",
"file_metadata": {
"access_details": {
"aws_detail": {
"aws_account_id": "test-account-id",
"aws_bucket_name": "test-bucket",
"file_path": "test_rt.csv"
}
},
"sync_enabled": true
},
"schema": {
"fields": [
{
"name": "id",
"type": "INT32"
},
{
"name": "name",
"type": "STRING"
}
],
"primary_keys": [
"id"
]
},
"tags": [
"test_tag"
]
},
"type": "reference_table"
}
}Response
OK