PUT
/
v1
/
tables
/
{table}
curl --request PUT \
  --url https://api.botpress.cloud/v1/tables/{table} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "frozen": true,
  "schema": {},
  "tags": {},
  "isComputeEnabled": true
}'
{
  "table": {
    "id": "<string>",
    "name": "<string>",
    "factor": 1,
    "frozen": true,
    "schema": {
      "$schema": "<string>",
      "properties": {},
      "additionalProperties": true,
      "required": [
        "<string>"
      ],
      "type": "object"
    },
    "tags": {},
    "isComputeEnabled": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "staleColumns": [
    "<string>"
  ]
}

Path Parameters

table
string
required

The table's name or unique identifier for targeting specific table operations.

Body

application/json

The updated schema/name of the table.

The body is of type object.

Response

200
application/json

The updated table

The response is of type object.