MediaWiki:Apihelp-commentblock-summary

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