Cases

Update a case (retention owner-only) · 0 credits

Owner-only (firm member → 403). Retention semantics IDENTICAL to the UI's (shared helper): persistent → stops the clock; ephemeral → rearms with the requested|stored|168 TTL; a TTL adjustment without a mode change only rearms if it is already ephemeral. Strict v1 validation: invalid enum/TTL → 400 (nothing is silently clamped).

patch/api/v1/cases/{caseId}

Request

  • Base URL: https://legal.nexusquantum.legal
  • URL: https://legal.nexusquantum.legal/api/v1/cases/{caseId}
  • Auth: HTTP bearer

Path parameters

caseIdstring uuid required

Request body

namestring
descriptionstring nullable
jurisdictionstring nullable
status'active' | 'archived' | 'closed'
retention_mode'persistent' | 'ephemeral'

Lifecycle of the case SOURCE documents. REQUIRED, WITH NO DEFAULT, when creating through the API: persistent = sources are kept until explicitly deleted (firm archive); ephemeral = sources are PURGED when ephemeral_ttl_hours expires (sliding: reset on every ingest). The choice is audited (created_via=api). GDPR Art. 25 / Art. 5(1)(e).

ephemeral_ttl_hoursinteger
pii_gatekeeper'on' | 'off'

Response

{ case: Case }

Changes

No recorded changes to this operation across all 1 revision of this API.