Deletes a pet

Securitypetstore_auth
Request
path Parameters
petId
required
integer <int64>

Pet id to delete

header Parameters
api_key
string
Responses
200

OK

400

Invalid ID supplied

404

Pet not found

delete/pet/{petId}
Request samples
curl -i -X DELETE \
  'https://petstore.swagger.io/v2/pet/{petId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'api_key: string'