mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
committed by
Blade Barringer
parent
5108480ec5
commit
f8fe16482d
@@ -12,12 +12,13 @@ let api = {};
|
||||
* @apiDescription Does not require authentication
|
||||
* @apiName UnsubscribeEmail
|
||||
* @apiGroup Unsubscribe
|
||||
* @apiDescription This is a GET method so that you can put the unsubscribe link in emails.
|
||||
* @apiDescription This is a GET method included in official emails from Habitica that will unsubscribe the user from emails.
|
||||
*
|
||||
* @apiParam {String} code Query parameter - An unsubscription code
|
||||
* @apiParam (Query) {String} code An unsubscription code
|
||||
*
|
||||
* @apiSuccess {String} An html success message
|
||||
* @apiSuccess {String} Webpage An html success message
|
||||
*
|
||||
* @apiError (400) {BadRequest} missingUnsubscriptionCode The unsubscription code is missing.
|
||||
* @apiUse UserNotFound
|
||||
*/
|
||||
api.unsubscribe = {
|
||||
|
||||
Reference in New Issue
Block a user