Delete user

Delete user

This can only be done by the logged in user.

Path Parameters
  • username
    required

    The name that needs to be deleted

Responses
  • 400

    Invalid username supplied

  • 404

    User not found

DELETE/user/{username}
curl https://petstore.swagger.io/v2/user/ \
  --request DELETE \
  --header 'Api_key: YOUR_SECRET_TOKEN' \
  --header 'Content-Type: text/plain;charset=UTF-8' \
  --data ""
No Body