user

Update user resource.

Changed on

This can only be done by the logged in user.

put/user/{username}

Request

  • Base URL: https://petstore3.swagger.io/api/v3
  • URL: https://petstore3.swagger.io/api/v3/user/{username}
  • Auth: none declared

Path parameters

usernamestring required

name that need to be deleted

Request body

idinteger
usernamestring
firstNamestring
lastNamestring
emailstring
passwordstring
phonestring
userStatusinteger

User Status

Example request

{
  "id": 10,
  "username": "theUser",
  "firstName": "John",
  "lastName": "James",
  "email": "john@email.com",
  "password": "12345",
  "phone": "12345",
  "userStatus": 1
}

Response

successful operation

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status

    • breaking

      removed the success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status