# テーブルの更新 `PUT /reporting/datamodels/{datamodel_id}/datasets/{dataset_id}/tables/{table_id}` を呼び出します。次の例では、[テーブルの作成/追加](/ja/products/customer-data-platform/treasure-insights/create-or-add-a-table) POST APIと同じ定義を使用しています。 APIエンドポイントについては、[お使いの地域に適したエンドポイント](https://api-docs.treasuredata.com/en/overview/aboutendpoints/#treasure-data-sites-and-baseurls)を選択してください。 ```bash curl -X PUT https:///reporting/datamodels/xxxxxx/datasets/yyyyyy/tables/zzzzz \ -H 'authorization: TD1 xxxx/xxxxxxxxxxxxxx' \ -H 'cache-control: no-cache' \ -H 'accept: application/json' \ -H 'content-type: application/json' \ -d '{ "name": "pageviews", "definition": { "columns": { "td_url": { "type": "text" }, "time": { "type": "int" } } } }' ```