Skip to main content
PUT
/
projects
/
{project_name}
/
tables
/
{table_id}
PUT /projects/{project_name}/tables/{table_id}
curl --request PUT \
  --url https://api.cloudsquid.io/api/projects/{project_name}/tables/{table_id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "mode": "append",
  "document": {
    "mimetype": "application/pdf",
    "filename": "<string>",
    "file_type": "uri",
    "file": "<string>",
    "zero_retention_mode": true
  }
}
'

Authorizations

X-API-Key
string
header
required

Path Parameters

project_name
string
required

The name of the project

table_id
string<uuid>
required

The id of the table

Body

application/json

Update storage Table Configuration

mode
enum<string>
required

update table mode

Available options:
append,
overwrite
document
object
required

the document you want to upload to storage

Response

Successfully updated table