GET
/user/{username}Get a user by username
Retrieves a user account by username. Supply the username path parameter to identify the account to retrieve. Use user1 as the username for testing.
usernamestringrequired
The username of the account to retrieve. Use user1 for testing.
200Returns the user object, including its identifier and account details.
emailstringoptional
firstNamestringoptional
idintegeroptional
lastNamestringoptional
passwordstringoptional
phonestringoptional
userStatusintegeroptional
User Status
usernamestringoptional
400Returned when the supplied username is invalid.
404Returned when the user is not found.
defaultReturned when an unexpected error occurs.
Error handling
A 400 is returned when the username path parameter is invalid. A 404 is returned when the specified user is not found.