Remove id endpoint parameter for API.destroy_block
authorHarmon <Harmon758@gmail.com>
Sat, 13 Feb 2021 22:10:03 +0000 (16:10 -0600)
committerHarmon <Harmon758@gmail.com>
Sat, 13 Feb 2021 22:10:03 +0000 (16:10 -0600)
tweepy/api.py

index 8e32ec492d21032761495e8b0b6c63e1bca1f8f7..075d32758e60dd25f567730ef8b616a3167ed7bb 100644 (file)
@@ -786,7 +786,7 @@ class API:
         """
         return self.request(
             'POST', 'blocks/destroy', *args, endpoint_parameters=(
-                'id', 'user_id', 'screen_name'
+                'user_id', 'screen_name'
             ), **kwargs
         )