Get user by user name

Request
path Parameters
username
required
string

The name that needs to be fetched. Use user1 for testing.

get
/user/{username}
Responses

200

successful operation

Response Schema:
id
integer <int64>
username
string
firstName
string
lastName
string
email
string
password
string
phone
string
userStatus
integer <int32>

User Status

400

Invalid username supplied

404

User not found

Response samples
Sample not available