From f2282790cc7e980bba96cdadde2ab8b6af3e6095 Mon Sep 17 00:00:00 2001 From: halcy Date: Sat, 19 Nov 2022 01:11:02 +0200 Subject: Add email resend api --- mastodon/Mastodon.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mastodon') 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: return response['access_token'] + @api_version("3.4.0", "3.4.0", "3.4.0") + def email_resend_confirmation(self): + """ + Requests a re-send of the users confirmation mail for an unconfirmed logged in user. + + Only available to the app that the user originally signed up with. + """ + self.__api_request('POST', '/api/v1/emails/confirmations') + ### # Reading data: Instances ### -- cgit v1.2.3