Archive A Document
POST/v1/metadata/:workspace_id/archive/:file_name
Archive a document.
Args: file_name (str): The name of the file to be archived. repository (DocumentMetadataRepository): The repository for document metadata. user (TokenData): The user token data.
Returns
DocumentMetadataRead: The archived document metadata.
Request
Responses
- 200
- 422
Successful Response
Validation Error