diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2019-09-13 13:09:35 +0700 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2019-09-13 13:09:35 +0700 |
commit | 25d8216804c7742cd8549799a7785723f2a70afa (patch) | |
tree | 4a6cd6c20b65f1f13be98c93e1d0acf2171039a4 /docs/api | |
parent | 5ca643b80de6e8b82ccb2411b1fa1259a8d565ae (diff) | |
download | pleroma-25d8216804c7742cd8549799a7785723f2a70afa.tar.gz |
Add email change endpoint
Diffstat (limited to 'docs/api')
-rw-r--r-- | docs/api/pleroma_api.md | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/api/pleroma_api.md b/docs/api/pleroma_api.md index 7d343e97a..8a726a7cb 100644 --- a/docs/api/pleroma_api.md +++ b/docs/api/pleroma_api.md @@ -252,7 +252,7 @@ See [Admin-API](Admin-API.md) * Params: * `email`: email of that needs to be verified * Authentication: not required -* Response: 204 No Content +* Response: 204 No Content ## `/api/v1/pleroma/mascot` ### Gets user mascot image @@ -321,6 +321,15 @@ See [Admin-API](Admin-API.md) } ``` +## `/api/pleroma/change_email` +### Change account email +* Method `POST` +* Authentication: required +* Params: + * `password`: user's password + * `email`: new email +* Response: JSON. Returns `{"status": "success"}` if the change was successful, `{"error": "[error message]"}` otherwise + # Pleroma Conversations Pleroma Conversations have the same general structure that Mastodon Conversations have. The behavior differs in the following ways when using these endpoints: |