logout functionality and documentation

This commit is contained in:
Isuru Bimsara
2026-08-21 14:37:24 +05:30
parent 2a35d86ebf
commit 5d29a8f78f
4 changed files with 106 additions and 20 deletions
+2 -3
View File
@@ -56,8 +56,8 @@ POST: http://localhost:3070/api/auth/login
"email": "sathira@niolla.lk",
"firstName": "Jhon",
"lastName": "Doe",
"role": "System Developer",
"accountType": "admin"
"accountType": "admin",
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9......"
}
}
```
@@ -90,7 +90,6 @@ No Body
"firstName": "Sathira",
"lastName": "Sri Sathsara",
"email": "sathira@niolla.lk",
"role": "System Developer",
"accountType": "admin",
"iat": 1778865265,
"exp": 1778868865,