Skip to content
  • Auto
  • Light
  • Dark
Get started

Delete

Deletes a pet
delete/pet/{petId}

delete a pet

Path ParametersExpand Collapse
petId: number
Deletes a pet
curl https://petstore3.swagger.io/api/v3/pet/$PET_ID \
    -X DELETE \
    -H "api_key: $PETSTORE_API_KEY"
Returns Examples