---
title: "Update a source"
method: PATCH
path: "/v1/sources/{id}"
tags: ["Sources"]
---

# Update a source

`PATCH /v1/sources/{id}`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/sources/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Request body

- SourceUpdateRequest
  - `name` string
  - `default_schema_id` string, uuid, nullable: Set to null to remove the default schema.

## Response `200`

Source updated.

- SourceResponse
  - `id` string, uuid, required
  - `name` string, required
  - `type` string, required
  - `status` 'active' | 'syncing' | 'error', required
  - `document_count` integer
  - `default_schema` object, nullable
    - `id` string, uuid
  - `endpoint` string: URL path for uploading documents to this source.
  - `created_at` string, date-time
  - `links` object
    - `self` string
    - `documents` string
    - `dashboard` string, uri

## Other responses

- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.
- `429`: Daily rate limit exceeded.

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) · [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) · [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/678fe5f8c9c3?raw)
