code: def remove_user_from_groups(self, user_id, body, **kwargs):  # noqa: E501
          
          kwargs['_return_http_data_only'] = True
          if kwargs.get('asynchronous'):
              return self.remove_user_from_groups_with_http_info(user_id, body, **kwargs)  # noqa: E501
          else:
              (data) = self.remove_user_from_groups_with_http_info(user_id, body, **kwargs)  # noqa: E501
              return data
docs: Remove user from groups.  # noqa: E501
  
          An endpoint for removing user from groups.   **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/users/{user-id}/groups -d '[0162056a9a1586f30242590700000000,0117056a9a1586f30242590700000000]' -H 'content-type: application/json' -H 'Authorization: Bearer API_KEY'`  # noqa: E501
          This method makes a synchronous HTTP request by default. To make an
          asynchronous HTTP request, please pass asynchronous=True
          >>> thread = api.remove_user_from_groups(user_id, body, asynchronous=True)
          >>> result = thread.get()
  
          :param asynchronous bool
          :param str user_id: The ID of the user to be removed from the group. (required)
          :param list[str] body: A list of IDs of the groups to be updated. (required)
          :return: UpdatedResponse
                   If the method is called asynchronously,
                   returns the request thread.