Permanently Delete Doc
DELETE/v1/:workspace_id/trash/:file_id
Permanently deletes a document.
Args: workspace_id (str): The id of the workspace. file_id (str): The id of the file to be permanently deleted. Defaults to None. repository (DocumentRepository): The repository for managing documents. metadata_repository (DocumentMetadataRepository): The repository for managing document metadata. user (TokenData): The token data of the authenticated user.
Returns
None: If the file is permanently deleted.
Raises
HTTP_404: If no file with the specified name is found.
Request
Responses
- 204
- 422
Successful Response
Validation Error