Remove id endpoint parameter for API.destroy_friendship
authorHarmon <Harmon758@gmail.com>
Fri, 12 Feb 2021 03:40:00 +0000 (21:40 -0600)
committerHarmon <Harmon758@gmail.com>
Fri, 12 Feb 2021 03:40:00 +0000 (21:40 -0600)
tweepy/api.py

index fa0c328d275f13a3a0c09956b3f1c2b0f791df11..a47f491e4098314add844ce9ac47080843f9efbd 100644 (file)
@@ -569,7 +569,7 @@ class API:
         """
         return self.request(
             'POST', 'friendships/destroy', *args, endpoint_parameters=(
-                'id', 'user_id', 'screen_name'
+                'user_id', 'screen_name'
             ), **kwargs
         )