Deletes a pet

Deletes a pet

Path Parameters
  • petId
    required

    Pet id to delete

Headers
  • api_key
Responses
  • 400

    Invalid ID supplied

  • 404

    Pet not found

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