DELETE/pet/{petId}

Delete a pet

Deletes a pet record from the store. Specify the pet with petId; you can also send the optional api_key header with the request.

2 parameters
petIdintegerrequired
The int64 identifier of the pet to delete.
api_keystringoptional
An optional API key header for the request.

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

Error handling

An invalid pet value returns a 400. The petId path parameter identifies the pet to delete.