---
title: "Replace a persistent Linc conversation scope"
method: PUT
path: "/linc/v1/sessions/{id}/scope"
tags: ["Agents/Linc"]
---

# Replace a persistent Linc conversation scope

`PUT /linc/v1/sessions/{id}/scope`

## Request

- Base URL: `https://api.case.dev`
- URL: `https://api.case.dev/linc/v1/sessions/{id}/scope`
- Auth: HTTP bearer

Stops the conversation worker, applies a newly authorized object scope, revokes its prior managed credential, and resumes the same native conversation in its existing workspace.

## Path parameters

- `id` string, required

## Request body

- union
  - object
    - `vaultIds` string[], required: Legacy whole-vault scope. Mutually exclusive with vaultScopes.
    - `vaultScopes` object[]: Authoritative object allowlist for the next and later turns.
      - `vaultId` string, required
      - `objectIds` string[], required
  - object
    - `vaultIds` string[]: Legacy whole-vault scope. Mutually exclusive with vaultScopes.
    - `vaultScopes` object[], required: Authoritative object allowlist for the next and later turns.
      - `vaultId` string, required
      - `objectIds` string[], required

## Response `200`

Conversation scope replaced and runtime resumed

## Other responses

- `400`: Invalid scope
- `401`: Invalid API key
- `403`: No agent access or Linc runtime disabled
- `404`: Session, vault, or object not found
- `409`: Session is not a resumable persistent workspace conversation
- `503`: The conversation was stopped safely but could not be resumed

## Changes

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

[Operation history](https://skmtc.dev/casemark/apis/case-dev-api/changes/linc/v1/sessions/:id/scope/put.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)
