DELETE
/pet/{petId}Delete a pet
Deletes a pet from the store. Supply petId to identify which pet to remove.
petIdintegerrequired
The identifier of the pet to delete.
api_keystringoptional
An API key value supplied in the request header.
200Confirms that the pet was deleted.
400Returned when the supplied pet value is invalid.
defaultReturned when an unexpected error occurs.
Error handling
A 400 is returned when the pet identifier is invalid. The petId path parameter must identify the pet to delete.