---
title: "PUT /schema/tables/{table}"
method: PUT
path: "/schema/tables/{table}"
---

# PUT /schema/tables/{table}

`PUT /schema/tables/{table}`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/schema/tables/{table}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/uber/apis/provide-the-restful-apis-to-interact-with-aresdb/docs/schema/tables/:table/put.ts> (a function with typed inputs; its response is checked against the schema)

update config of the specified table

## Path parameters

- `table` string, required

## Request body

- TableConfig: TableConfig defines the table configurations that can be changed
  - `archivingDelayMinutes` integer: Number of minutes after event time before a record can be archived.
  - `archivingIntervalMinutes` integer: Specifies how often archiving runs.
  - `backfillIntervalMinutes` integer: Specifies how often backfill runs.
  - `backfillMaxBufferSize` integer: Upper limit of current backfill buffer size + backfilling buffer size.
  - `backfillStoreBatchSize` integer: Size of each live batch used by backfill job.
  - `backfillThresholdInBytes` integer: Backfill buffer size in bytes that will trigger a backfill job.
  - `batchSize` integer: Size of each live batch, should be sufficiently large.
  - `initPrimaryKeyNumBuckets` integer: Initial setting of number of buckets for primary key if equals to 0, default will be used
  - `maxRedoLogFileSize` integer: Specifies the size limit of a single redo log file.
  - `recordRetentionInDays` integer: Records with timestamp older than now - RecordRetentionInDays will be skipped during ingestion and backfill. 0 means unlimited days.
  - `redoLogRotationInterval` integer: Specifies how often to create a new redo log file.
  - `snapshotIntervalMinutes` integer: Specifies how often snapshot runs.
  - `snapshotThreshold` integer: Number of mutations to accumulate before creating a new snapshot.

## Response `200`

NoContentResponse represents Response with no content.

## Other responses

- `default`: ErrorResponse represents error response.

---

[API](https://skmtc.dev/uber/apis/provide-the-restful-apis-to-interact-with-aresdb.md) - [All operations](https://skmtc.dev/uber/apis/provide-the-restful-apis-to-interact-with-aresdb/llms.txt) - [OpenAPI document](https://skmtc.dev/uber/apis/provide-the-restful-apis-to-interact-with-aresdb/revisions/d18a58e88958?raw)
