DELETE/pet/{petId}

Delete a pet

Deletes a pet from the store. Supply the pet's petId to identify the pet to remove; you can also send the optional api_key header.

2 parameters
petIdintegerrequired
The int64 identifier of the pet to delete.
api_keystringoptional
The API key value to send in the request header.

3 status codes
200Returns a confirmation that the pet was deleted.
400Returned when the supplied pet value is invalid.
defaultUnexpected error

Error handling

The petId path parameter must be an integer identifier for the pet to delete. A 400 is returned when the pet value is invalid.