DataTables

Updates individual properties of an existing data table.

This endpoint cannot be used on production models. Only development models can be updated. If the data table indexes are being updated and the table is used in any projections, a new version will be created automatically to preserve projection integrity. Name-only updates do not trigger versioning.

patch/api/v2/DataTables/{dataTableId}

Request

Path parameters

dataTableIdinteger required

The ID of the data table to update

Request body

namestring nullable

Updated name for the data table (optional). If not provided, the existing name will be retained.

Example request

{
  "name": "Updated Pension Conversion Table",
  "indexes": [
    {
      "columnName": "Age",
      "indexReadMethod": "ExactMatch"
    },
    {
      "columnName": "Duration",
      "indexReadMethod": "RangeLowerBound"
    }
  ]
}

Response

Data table updated successfully

idinteger

The ID of the updated data table.

versioninteger

The version number of the data table after the update. This may be incremented if the table was versioned due to being used in projections.

Example response

{
  "id": 12345,
  "version": 2
}

Changes

No recorded changes to this operation across all 1 revision of this API.