DELETE/pet/{petId}

Delete a pet

Deletes a pet from the store using its identifier. Supply the petId path parameter for the pet you want to remove. You can also send the optional api_key header.

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

3 status codes
200Confirms that the pet was deleted.
400Invalid pet value
defaultUnexpected error

Error handling

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