removeDocumentFromFolder

@DELETE(value = folders/{folderId}/documents)
abstract suspend fun removeDocumentFromFolder(@Path(value = folderIdfolderId: String, @Body() addOrRemoveDocumentsFromFolderDto: AddOrRemoveDocumentsFromFolderDto): Response<DocumentsAddedOrRemovedFromFolderResponseDto>

Remove document(s) from folder This endpoint allows you to remove multiple documents from a folder owned by the user Responses:

  • 200: Success. Documents were successfully removed from the folder

  • 401: Unauthorized. This will occur if you do not supply an access-token to this endpoint, or if you provide an expired or invalid access token.

  • 404: Not Found. The folderID or one of the receipt IDs you have provided do not exist or do not belong to the user.

Return

DocumentsAddedOrRemovedFromFolderResponseDto

Parameters

folderId

A unique ID that identifies this folder in the Sensibill system.

addOrRemoveDocumentsFromFolderDto

Remove multiple documents from a folder