# Replace or replace contents of table in Data sources

**URL:** https://community.glideapps.com/t/replace-or-replace-contents-of-table-in-data-sources/86063
**Category:** Ask for Help
**Tags:** api
**Created:** [January 19, 2026, 2:03am UTC](https://community.glideapps.com/t/replace-or-replace-contents-of-table-in-data-sources/86063 "2026-01-19T02:03:37Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![blairrorani](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/blairrorani/32/43426_2.png) [@blairrorani](https://community.glideapps.com/u/blairrorani)
#### Post date: [January 19, 2026, 2:03am UTC](https://community.glideapps.com/t/replace-or-replace-contents-of-table-in-data-sources/86063/1 "2026-01-19T02:03:37Z")

</div>

I found this endpoint in the api docs:

> **[Overwrite Table - Glide API Docs](https://apidocs.glideapps.com/api-reference/v2/tables/put-tables)**
>
> Replaces the schema and/or data of a Big Table

Without testing it, is the result the same as “select all rows in a table, delete, import new data”?

Client has realised they can do this manually as stated above, but I’d prefer to automate this to keep it controlled.

Please let me know if you have experience using this endpoint so I can understand the behaviour before spending time testing. Thanks in advance 🤝

PS: If I clear table data so there is only the header row, then upload/replace the data with a .csv file with say 5,000 records, what does the API usage look like?

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [January 19, 2026, 2:41am UTC](https://community.glideapps.com/t/replace-or-replace-contents-of-table-in-data-sources/86063/2 "2026-01-19T02:41:01Z")

</div>

> [@blairrorani](#):
>
> Without testing it, is the result the same as “select all rows in a table, delete, import new data”?

Yes, that’s correct. I’m using this everyday to refresh data coming from another source.

> [@blairrorani](#):
>
> PS: If I clear table data so there is only the header row, then upload/replace the data with a .csv file with say 5,000 records, what does the API usage look like?

Do you mean uploading manually?

---

<div class="post-metadata">

### Author: ![blairrorani](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/blairrorani/32/43426_2.png) [@blairrorani](https://community.glideapps.com/u/blairrorani)
#### Post date: [January 19, 2026, 3:12am UTC](https://community.glideapps.com/t/replace-or-replace-contents-of-table-in-data-sources/86063/3 "2026-01-19T03:12:48Z")

</div>

If I replace a table (remove the table using api then replace, which I haven’t looked at how to do yet), then is that one API credit per row replaced/imported?

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [January 19, 2026, 3:51am UTC](https://community.glideapps.com/t/replace-or-replace-contents-of-table-in-data-sources/86063/4 "2026-01-19T03:51:34Z")

</div>

Depends which version of the API you use.

With V1, which works with any tables, it’s one update per mutation (add/edit/delete).  
With V2, which only works with Big Tables, it’s 0.01 updates per row changed.

Note: if you manually import a CSV file via the Data Editor, that’s zero updates regardless of the type of table or number of rows.

---

<div class="post-metadata">

### Author: ![blairrorani](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/blairrorani/32/43426_2.png) [@blairrorani](https://community.glideapps.com/u/blairrorani)
#### Post date: [January 19, 2026, 4:38am UTC](https://community.glideapps.com/t/replace-or-replace-contents-of-table-in-data-sources/86063/5 "2026-01-19T04:38:28Z")

</div>

Great, so 50 updates for 5,000 rows
