SpecifyDocs

File library unlink

/v1/library/files/{id}/unlink

Signed-in sessionLaunch key product.filesOperation file_library_unlink

People and agents upload files, attach them to docs, memories, tasks, briefings and skills, preview them, and run processing jobs on them.

Path parameters

idstringRequired

Body

expectedAuthorizationVersionstring
deleteUploadedFilefalse | true
idempotencyKeystringRequired
entityType"briefing" | "decision_doc" | "document" | "memory" | "skill" | "task" | "written_briefing"Required
entityIdstringRequired
expectedVersionnumberRequired

Returns

idstringRequired
fileIdstringRequired
entityobjectRequired
createdAtnumberRequired
versionnumberRequired
labelstring
hrefstring
fileDeletedfalse | true
removeDeletesfalse | true

Errors

400, 401, 403, 404, 409, 429 and 503 return {"error": {"code", "message", "correlationId"}}. A call without a valid credential gets 401 before its input is checked, and so does an address that is not an operation: 404 and 400 come only once the credential is accepted. Public operations answer without one.