Skip to main content

Legal Holds

Place legal holds on the whole workspace, one source or a set of documents so nothing they cover can be deleted, disposed of or erased, and release them with a typed confirmation.

A legal hold covers the whole workspace, one source or a set of documents. While it is active, nothing it covers can be deleted, disposed of or erased by any path, in the web app or through the API.

Releasing a hold needs the hold's exact name in confirm_name and a reason, both recorded in the audit log.

GET/v1/records/legal-holds

cURL

curl -X GET https://api.talonic.com/v1/records/legal-holds \
  -H "Authorization: Bearer $TALONIC_API_KEY"
POST/v1/records/legal-holds

cURL

curl -X POST https://api.talonic.com/v1/records/legal-holds \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "\u2026", "scope_type": "tenant"}'
POST/v1/records/legal-holds/{id}/release

cURL

curl -X POST https://api.talonic.com/v1/records/legal-holds/$ID/release \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "X-Step-Up-Code: 123456" \
  -H "Content-Type: application/json" \
  -d '{"confirm_name": "\u2026", "reason": "\u2026"}'
POST/v1/records/legal-holds/{id}/documents

cURL

curl -X POST https://api.talonic.com/v1/records/legal-holds/$ID/documents \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"document_ids": []}'
DELETE/v1/records/legal-holds/{id}/documents/{documentId}

cURL

curl -X DELETE https://api.talonic.com/v1/records/legal-holds/$ID/documents/$DOCUMENTID \
  -H "Authorization: Bearer $TALONIC_API_KEY"
Errors: 401 missing or invalid credential; 403 with a reason (insufficient_scope, insufficient_role, person_inactive, not_member, no_person, workspace_read_only, or STEP_UP_REQUIRED); 404 unknown id in this workspace; 429 rate limited (see Retry-After).