cURL
curl --request POST \ --url https://api.indoralabs.com/files/detach \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "caseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "fileIds": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ] } '
{ "ok": true }
Detach one or more files from a case. This removes their association while keeping the file intact. Useful when a file was mistakenly linked or no longer relevant to the case.
The case ID to detach files from.
List of file IDs to detach.
Files successfully detached from case.
true