Gets a username by user ID, or the current user's username when ID is omitted.
GET/username
Gets a username by user ID, or the current user's username when ID is omitted.
Request
Responses
- 200
- 401
- 403
OK
Unauthorized - missing or invalid credentials.
Forbidden - authenticated but missing required role or policy.