DELETE
/pet/{petId}Delete a pet
Deletes a specific pet from the store. Use petId to identify the pet you want to remove and send api_key when your store configuration requires it. A successful response confirms that the pet was deleted.
petIdintegerrequired
The numeric identifier of the pet to delete.
api_keystringoptional
The API key used to authorize the deletion when required by the store.
200Confirms that the pet identified by
petId was deleted.400Returned when the supplied pet identifier is invalid.
defaultReturned when an unexpected error occurs.
Error handling
A 400 is returned when petId is invalid. petId must identify the pet you intend to delete, and send api_key when your store requires an API key for this operation.