---
title: "Update a table's import source"
method: PATCH
path: "/tables/{table_id}/source/"
tags: ["table-sources"]
---

# Update a table's import source

`PATCH /tables/{table_id}/source/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/tables/{table_id}/source/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Only the row limit is editable here. The integration and the record type define what the table's existing rows ARE. Changing either would import a different population over them rather than refresh them, so a different source means a different table. The field rows are matched on changes through the identity-field route, which re-keys the rows with it.

## Path parameters

- `table_id` string, uuid, required

## Request body

- UpdateTableSourceRequestSchema: What may change on an existing source.
  - `row_limit` integer, nullable: New row ceiling; null lifts it.

## Response `200`

Successful Response

- TableSourceSchema: A table's import source.
  - `created_at` string, date-time, required
  - `id` string, uuid, required
  - `identity_field` string, required
  - `integration_id` string, uuid, required
  - `integration_type` string, required
  - `last_synced_at` string, date-time, nullable, required: Start of the last successful run; the incremental watermark.
  - `object_column_id` string, uuid, required: The column each imported record lands in.
  - `record_type` string, required
  - `record_type_label` string, required: The object type's name for a person to read ('Contacts', 'Event type').
  - `row_limit` integer, nullable, required
  - `supports_incremental` boolean, required
  - `table_id` string, uuid, required
  - `updated_at` string, date-time, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Table has no source
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
