post_file_votes: Add a vote to a file

View source: R/post_file_votes.R

post_file_votesR Documentation

Add a vote to a file

Description

Add a vote to a file

Usage

post_file_votes(hash = NULL, verdict = NULL, ...)

Arguments

hash

File hash (MD5, SHA1, or SHA256)

verdict

Vote verdict: "harmless" or "malicious"

...

Additional arguments passed to virustotal_POST.

Value

list containing response data

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')

post_file_votes(hash='99017f6eebbac24f351415dd410d522d', verdict='malicious')

## End(Not run)

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