POST /utils/login/test-token
Test access token
Validates the current user's access token and returns the authenticated user's profile information.
Endpoint
POST /utils/login/test-token
Parameters
| Name | Type | Description |
|---|---|---|
| current_user | CurrentUser | The dependency-injected user object representing the currently authenticated requester. |
Response
| Status | Description |
|---|---|
| 200 | Successfully validated the token and retrieved user information. Returns UserPublic. |
| 401 | The provided access token is invalid, expired, or missing. |