Skip to content
On this page

Deletes a pet.

Delete a pet.

DELETE/pet/{petId}Deletes a pet.
curl -X DELETE 'https://petstore3.swagger.io/api/v3/pet/0' \
  -H 'Authorization: Bearer <token>'

#Authentication

petstore_authwrite:petsread:pets

#Parameters

api_keystringheader
petIdinteger (int64)requiredpath

Pet id to delete

#Responses

Pet deleted