imap_data_access.io.upload#

Upload a file to the data archive.

param file_path:

Path to the file to upload.

type file_path:

pathlib.Path or str

param api_key:

API key to authenticate with the data access API. If not provided, the value from the IMAP_API_KEY environment variable will be used.

type api_key:

str, optional