---
title: "Update a matter (requires authentication)"
method: PATCH
path: "/counsel/matters/{id}"
tags: ["counsel"]
---

# Update a matter (requires authentication)

`PATCH /counsel/matters/{id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/counsel/matters/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- CounselMatterUpdate
  - `name` string
  - `clientName` string
  - `matterNumber` string
  - `type` 'litigation' | 'transaction' | 'regulatory' | 'employment' | 'ip' | 'real-estate' | 'contract'
  - `status` 'active' | 'pending' | 'closed' | 'escalated' | 'on-hold'
  - `privilegeLevel` 'public' | 'confidential' | 'privileged' | 'restricted'
  - `pressureScore` number
  - `complexityScore` number
  - `openedDate` string
  - `trialDate` string, nullable
  - `closingDate` string, nullable
  - `nextDeadline` string
  - `nextDeadlineLabel` string
  - `leadCounsel` string
  - `jurisdiction` string
  - `estimatedExposure` number, nullable
  - `summary` string
  - `tags` string[]
  - `wall` CounselWall
    - `enabled` boolean
    - `reason` string
    - `blockedRoles` string[]
    - `approvedUsers` string[]
    - `createdAt` string
    - `createdBy` string
  - `parties` CounselParty[]
    - `id` string
    - `name` string
    - `role` 'client' | 'opposing-counsel' | 'regulator' | 'third-party' | 'expert' | 'co-counsel'
    - `counsel` string
    - `jurisdiction` string

## Response `200`

Updated matter

- CounselMatter
  - `id` string
  - `name` string
  - `clientName` string
  - `matterNumber` string
  - `type` 'litigation' | 'transaction' | 'regulatory' | 'employment' | 'ip' | 'real-estate' | 'contract'
  - `status` 'active' | 'pending' | 'closed' | 'escalated' | 'on-hold'
  - `privilegeLevel` 'public' | 'confidential' | 'privileged' | 'restricted'
  - `pressureScore` number
  - `complexityScore` number
  - `openedDate` string
  - `trialDate` string
  - `closingDate` string
  - `nextDeadline` string
  - `nextDeadlineLabel` string
  - `leadCounsel` string
  - `jurisdiction` string
  - `estimatedExposure` number
  - `summary` string
  - `tags` string[]
  - `parties` CounselParty[]
    - `id` string
    - `name` string
    - `role` 'client' | 'opposing-counsel' | 'regulator' | 'third-party' | 'expert' | 'co-counsel'
    - `counsel` string
    - `jurisdiction` string
  - `wall` CounselWall
    - `enabled` boolean
    - `reason` string
    - `blockedRoles` string[]
    - `approvedUsers` string[]
    - `createdAt` string
    - `createdBy` string
  - `obligations` CounselObligation[]
    - `id` string
    - `matterId` string
    - `title` string
    - `description` string
    - `dueDate` string
    - `status` 'pending' | 'in-progress' | 'complete' | 'overdue' | 'at-risk'
    - `assignee` string
    - `dependencies` string[]
    - `privilegeLevel` 'public' | 'confidential' | 'privileged' | 'restricted'
    - `filingRequired` boolean
    - `courtId` string
    - `consequence` string
    - `completedDate` string
  - `auditTrail` CounselAuditEntry[]
    - `id` string
    - `matterId` string
    - `timestamp` string, date-time
    - `user` string
    - `role` string
    - `action` 'viewed' | 'edited' | 'exported' | 'redacted' | 'accessed-wall' | 'escalated' | 'deadline-updated' | 'privilege-changed'
    - `detail` string
    - `ip` string
  - `proofChain` CounselProofChainEntry[]
    - `id` string
    - `matterId` string
    - `timestamp` string, date-time
    - `eventType` 'filing' | 'communication' | 'discovery' | 'order' | 'settlement' | 'hearing' | 'deadline' | 'expert-report'
    - `title` string
    - `summary` string
    - `privilegeLevel` 'public' | 'confidential' | 'privileged' | 'restricted'
    - `author` string
    - `parties` string[]
    - `documentRef` string
    - `hash` string
    - `redacted` boolean

## Other responses

- `401`: Unauthorized
- `404`: Not Found

## Changes

- **2026-04-18** `69dc43a7baac`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/changes/counsel/matters/:id/patch.md)

---

[API](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api.md) - [All operations](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/revisions/6ad730b13e59?raw)
