Get user by user name
1 min
GET
//petstore.swagger.io/v2/user/{username}
usernamestring<p>The name that needs to be fetched. <em>Use user1</em> for testing.</p>
200successful operation
400Invalid username supplied
404User not found
curl --request GET \
--url //petstore.swagger.io/v2/user/{username} \
--header 'accept: application/json'Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.