https://petstore3.swagger.io/api/v3/user/{username}Updates the information of a user resource, which can only be performed by the currently logged-in user.
name that need to be deleted
Id
Example: 10
Username
Example: theUser
FirstName
Example: John
LastName
Example: James
Example: john@email.com
Password
Example: 12345
Phone
Example: 12345
User Status
Example: 1
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request PUT \
--url 'https://petstore3.swagger.io/api/v3/user/{username}' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}https://petstore3.swagger.io/api/v3/user/{username}Updates the information of a user resource, which can only be performed by the currently logged-in user.
name that need to be deleted
Id
Example: 10
Username
Example: theUser
FirstName
Example: John
LastName
Example: James
Example: john@email.com
Password
Example: 12345
Phone
Example: 12345
User Status
Example: 1
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request PUT \
--url 'https://petstore3.swagger.io/api/v3/user/{username}' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}