import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const documentDeleteResponse = await client.folders.documents.remove('document_id', {
folder_id_or_name: 'folder_id_or_name',
});
console.log(documentDeleteResponse.message);{
"status": "<string>",
"message": "<string>"
}Remove a document from a folder.
import Morphik from 'morphik';
const client = new Morphik({
apiKey: 'My API Key',
});
const documentDeleteResponse = await client.folders.documents.remove('document_id', {
folder_id_or_name: 'folder_id_or_name',
});
console.log(documentDeleteResponse.message);{
"status": "<string>",
"message": "<string>"
}Was this page helpful?