DELETE/pet/{petId}

Delete a pet

Deletes a pet from the store. Use petId to identify the pet to remove; you can also send an api_key header with the request.

2 parameters
petIdintegerrequired
The integer identifier of the pet to delete.
api_keystringoptional
An API key sent in the request header.

3 status codes
200Confirms that the pet was deleted.
400Returned when the supplied pet value is invalid.
defaultReturned when an unexpected error occurs.

Error handling

The petId path parameter must identify the pet to delete. A 400 is returned when the pet value is invalid.