API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console

POST /v1/dms/documents/{id}/legal-hold

POST/v1/dms/documents/{id}/legal-hold

Set legal hold on a DMS document (blocks deletion until released)

Corps de la requête

NomTypeDescription
reasonstring
caseRefstring

Paramètres de chemin

NomTypeDescription
idobligatoirestring

Exemple

curl -X POST https://api.codemeta-os.de/v1/dms/documents/{id}/legal-hold \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "reason": "string",
  "caseRef": "string"
}'
const result = await cm.dms.post({
  "reason": "string",
  "caseRef": "string"
});

Codes de réponse

HTTP Signification
200 Default Response

Recherche