post_file_comments: Add a comment to a file

View source: R/post_file_comments.R

post_file_commentsR Documentation

Add a comment to a file

Description

Add a comment to a file

Usage

post_file_comments(hash = NULL, comment = NULL, ...)

Arguments

hash

File hash (MD5, SHA1, or SHA256)

comment

Comment text to add

...

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_comments(hash='99017f6eebbac24f351415dd410d522d',
                   comment='This file appears to be suspicious')

## End(Not run)

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