Purpose: Manage login sessions, user accounts, and role assignments.Documentation Index
Fetch the complete documentation index at: https://ratel-docs.bevars.com/llms.txt
Use this file to discover all available pages before exploring further.
| Action | Endpoint | Who Can Do It |
|---|---|---|
| Login | POST /api/v1/auth/login | Anyone |
| Refresh token | POST /api/v1/auth/refresh | Authenticated users |
| Get my profile | GET /api/v1/auth/me | Authenticated users |
| List users | GET /api/v1/auth/users | SUPER_ADMIN, BANK_ADMIN |
| Create user | POST /api/v1/auth/users | SUPER_ADMIN, BANK_ADMIN |
| Update user | PATCH /api/v1/auth/users/:id | SUPER_ADMIN, BANK_ADMIN |
| Deactivate user | DELETE /api/v1/auth/users/:id | SUPER_ADMIN, BANK_ADMIN |
Access tokens expire after 15 minutes. Use the refresh token to obtain a new access token without re-authenticating.

