DELETE
/pet/{petId}Delete a pet
Deletes a pet from the store using its identifier. Supply petId to select the pet to remove, and include api_key in the header if needed. The operation returns a confirmation when the pet is deleted.
petIdintegerrequired
The int64 integer identifier of the pet to delete.
api_keystringoptional
An optional API key sent in the request header.
200Returns confirmation that the pet was deleted.
400Returned when the supplied pet value is invalid.
defaultUnexpected error
Error handling
A 400 is returned when the pet value is invalid. The petId path parameter must be an int64 integer; api_key is an optional header.