aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-19 01:11:02 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-19 01:11:02 +0200
commitf2282790cc7e980bba96cdadde2ab8b6af3e6095 (patch)
tree5677af23a8a04c7a5c36c4fb02fd1e23642601e8 /mastodon
parent6a630202db718c5ed2924ad3a3863d7eee391b88 (diff)
downloadmastodon.py-f2282790cc7e980bba96cdadde2ab8b6af3e6095.tar.gz
Add email resend api
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/Mastodon.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index 14cf174..629a4b2 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -726,6 +726,15 @@ class Mastodon:
726 726
727 return response['access_token'] 727 return response['access_token']
728 728
729 @api_version("3.4.0", "3.4.0", "3.4.0")
730 def email_resend_confirmation(self):
731 """
732 Requests a re-send of the users confirmation mail for an unconfirmed logged in user.
733
734 Only available to the app that the user originally signed up with.
735 """
736 self.__api_request('POST', '/api/v1/emails/confirmations')
737
729 ### 738 ###
730 # Reading data: Instances 739 # Reading data: Instances
731 ### 740 ###
Powered by cgit v1.2.3 (git 2.41.0)