Replace upload data
Organization Admin permissions are required to use this endpoint.
Replace the data in an existing CSV upload.
The view’s uploaded_table_name property and references to it (returned as refreshedModelIds) will automatically update, but the upload’s ID will remain unchanged. This means that any documents, queries, views, etc. using the upload will be re-pointed to the new data. For a CSV that keeps its table, the replacement data is swapped into the existing table in place. Otherwise, Omni creates a new table for the replacement, and the previous data’s artifacts are left untouched.
Column data types
Columns already in the data input table keep their saved type and date format, and new columns are detected from the file. A value that doesn’t adhere to its column’s saved data type fails the request. To change a column’s type, delete the upload and create it again.Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Body
Response
Upload data replaced successfully

