DELETE/pet/{petId}

Delete a pet

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

2 parameters
petIdintegerrequired

The int64 identifier of the pet to delete.

api_keystringoptional

An optional API key sent in the request header.

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

Error handling

A 400 is returned for an invalid pet value. The petId path parameter must be an int64 identifier; api_key is the optional API key header.