Resolves a user's ID from their username.
GET/userid/:userName
Useful for URL-based profile routing and mentions. Authorization mirrors the controller default unless overridden.
Request
Responses
- 200
- 401
- 403
OK
Unauthorized - missing or invalid credentials.
Forbidden - authenticated but missing required role or policy.