Archive a library
DELETEhttps://platform.docana.com/api/v1/libraries/:libraryId/
Soft delete: archives the library. Like the UI, a non-empty library is archived together with its collections, documents and repositories; archivedCollections says how many collections went with it. Move collections out first (PATCH /api/collections/{collectionId}/ with libraryId) to keep them. The application library cannot be deleted.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Archival confirmation
The request body, query, or path failed validation. See validationErrors.
The API key or session is missing, expired, or malformed.
No permission to delete libraries, or the library is the application library
Library not found, archived, or not visible to the caller
Unexpected server error.