mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 03:01:10 +00:00
Adds user management documentation
This commit is contained in:
1 parent
969251c210
commit
e3573930bd
17 files changed
+536
-1
No files matched your search
@@ -0,0 +1,10 @@
|
||||
POST {{host}}/api/v1/auth/change-password
|
||||
Authorization: Bearer {{ACCESS_TOKEN}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"Username": "JohnDoe",
|
||||
"CurrentPassword": "Abcd123$",
|
||||
"NewPassword": "123$Abcd",
|
||||
"NewPasswordConfirm": "123$Abcd"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
POST {{host}}/api/v1/auth/login
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"Username": "a",
|
||||
"Password": "Abcd123$",
|
||||
"TotpCode": "123456"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
POST {{host}}/api/v1/auth/recover-password
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"Username": "JohnDoe",
|
||||
"TotpCode": "123456"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
POST {{host}}/api/v1/auth/register
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"Username": "JohnDoe",
|
||||
"Password": "Abcd123$",
|
||||
"PasswordConfirm": "Abcd123$",
|
||||
"Use2fa": true
|
||||
}
|
||||
Reference in new issue
Block a user