DELETE
/pet/{petId}Delete a pet from the store
Deletes a specific pet from the store. Identify the pet with the petId path parameter; you can also provide an api_key header. A 200 response confirms that the pet was deleted.
petIdintegerrequired
The int64 identifier of the pet to delete.
api_keystringoptional
An API key value sent in the request header.
200Returns a confirmation that the pet was deleted.
400Returned when the pet identifier is invalid.
defaultReturned when an unexpected error occurs.
Error handling
A 400 is returned when petId is invalid. The petId path parameter must be an int64 pet identifier.