#NEWLINE# def blockuser( self , user_id , **kwargs ) : #NEWLINE# #INDENT# 'Block a user.\n\n        :param user_id: id of the user to change\n        :param kwargs: Any param the the Gitlab API supports\n        :return: Dict of the user\n        ' #NEWLINE# data = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# if kwargs : #NEWLINE# #INDENT# data . update ( kwargs ) #NEWLINE# #UNINDENT# request = requests . put ( '{0}/{1}/block' . format ( self . users_url , user_id ) , headers = self . headers , data = data , timeout = self . timeout , verify = self . verify_ssl ) #NEWLINE# if ( request . status_code == 200 ) : #NEWLINE# #INDENT# return request . json ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return False