Skip to main content

Delete user

This can only be done by the logged in user.

Path Parameters
username string REQUIRED

The name that needs to be deleted

Responses
400

Invalid username supplied

404

User not found

deleteUser
DELETE /user/:username
username — path
//petstore.swagger.io/v2
curl -L -X DELETE '//petstore.swagger.io/v2/user/:username'