Admin

Place or lift a legal hold on a compliance record (REW-1088)

Changed on

A held record is skipped by the three-year retention purge (PP v2.4 §9: "unless … reasonably necessary for a pending claim, dispute, investigation, or legal hold"). Pass exactly one of userId (live account) or subjectRef (deleted account). Recorded in admin_activity_log.

patch/api/admin/compliance/legal-hold

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/admin/compliance/legal-hold
  • Auth
    HTTP bearer

Request body

userIdnumber

Live account

subjectRefstring

Deleted account (compliance_subject_archive.subject_ref)

holdboolean required

true places the hold, false lifts it

Example request

{
  "userId": 42,
  "hold": true
}

Changes