rescan_file: Request rescan of a file

View source: R/rescan_file.R

rescan_fileR Documentation

Request rescan of a file

Description

Request a new analysis of a file already present in VirusTotal's database. Returns an analysis ID for use with file_report.

Usage

rescan_file(hash = NULL, ...)

Arguments

hash

File hash (MD5, SHA1, or SHA256) or file ID. Required.

...

Additional arguments passed to virustotal_POST.

Value

list containing analysis details and ID

References

https://docs.virustotal.com/reference

See Also

set_key for setting the API key

Examples

## Not run: 

# Before calling the function, set the API key using set_key('api_key_here')

rescan_file(hash='99017f6eebbac24f351415dd410d522d')

## End(Not run)

virustotal documentation built on April 13, 2026, 9:07 a.m.