DELETE
/pet/{petId}Delete a pet
Deletes a pet from the store. Use petId to identify the pet to remove; you can also send the optional api_key header with the request.
petIdintegerrequired
The numeric identifier of the pet to delete, in int64 format.
api_keystringoptional
An optional API key value sent in the request header.
200Returns confirmation 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 petId is not a valid pet value. The petId path parameter is the numeric identifier of the pet to delete.