DELETE
/pet/{petId}Delete a pet
Deletes a specific pet from the store. Supply the pet's petId and optionally an api_key header when needed for the request. A 200 response confirms that the pet was deleted.
petIdintegerrequired
The int64 identifier of the pet to delete.
api_keystringoptional
An optional API key sent in the request header.
200Returns a confirmation that the pet was deleted.
400Returned when the pet value is invalid.
defaultUnexpected error
Error handling
A 400 is returned when the pet value is invalid. The petId path parameter is the int64 identifier of the pet to delete; the api_key header can be supplied as a string.