mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
committed by
Blade Barringer
parent
5108480ec5
commit
f8fe16482d
@@ -12,12 +12,13 @@ let api = {};
|
|||||||
* @apiDescription Does not require authentication
|
* @apiDescription Does not require authentication
|
||||||
* @apiName UnsubscribeEmail
|
* @apiName UnsubscribeEmail
|
||||||
* @apiGroup Unsubscribe
|
* @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
|
* @apiUse UserNotFound
|
||||||
*/
|
*/
|
||||||
api.unsubscribe = {
|
api.unsubscribe = {
|
||||||
|
|||||||
Reference in New Issue
Block a user