MediaWiki:Apihelp-commentblock-description

The commentblock API allows blocking a user from the comment it originated from after filling in the following parameters: CommentID.