---
title: "Update link"
method: PATCH
path: "/connectors/v1/links/{id}"
tags: ["Connectors"]
---

# Update link

`PATCH /connectors/v1/links/{id}`

## Request

- Base URL: `https://api.case.dev`
- URL: `https://api.case.dev/connectors/v1/links/{id}`
- Auth: HTTP bearer

Pause/resume a link (state "paused" | "ready"), change its mode (synced -> once is the sync downgrade), or edit its policy in place.

## Path parameters

- `id` string, required

## Headers

- `x-case-connector-subject` string

## Request body

- object
  - `state` 'paused' | 'ready'
  - `mode` 'once' | 'synced'
  - `remote` object: For unpaired Clio document imports only: expand folder_id to its verified Clio matter root. Connection, matter, vault and ledger remain unchanged.
  - `expected_remote` object: Required saved remote when expanding a Clio import root; detects concurrent source changes.
  - `expected_policy` object: Optional saved Clio import policy. Rejects concurrent changes to its folder/file exclusions.
  - `policy` object: Replaces the entire stored policy; omitted fields return to defaults. Repeat deletes, collisions and filters that should be retained. Folder/file exclusions require deletes: preserve (the default).

## Response `200`

Updated link

## Other responses

- `400`: Invalid state change
- `401`: Invalid API key
- `403`: Insufficient permissions
- `404`: Link not found
- `409`: Clio selection changed or its sync is still running

## Changes

- **2026-10-16** `a21d188f4b21`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/casemark/apis/case-dev-api/changes/connectors/v1/links/:id/patch.md)

---

[API](https://skmtc.dev/casemark/apis/case-dev-api.md) - [All operations](https://skmtc.dev/casemark/apis/case-dev-api/llms.txt) - [OpenAPI document](https://skmtc.dev/casemark/apis/case-dev-api/revisions/9a3245c00044?raw)
