Skip to content
Get started

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