mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 12:40:00 +00:00
parent
5108480ec5
commit
f8fe16482d
1 changed files with 4 additions and 3 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue