DELETE/pet/{petId}

Delete a pet

Deletes a specific pet from the store. Provide the petId path parameter to identify the pet to remove. The api_key header can be supplied with the request.

2 parameters
petIdintegerrequired

The integer identifier of the pet to delete.

api_keystringoptional

An API key value sent in the request header.

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

Error handling

The petId path parameter must be a valid pet identifier; an invalid pet value returns a 400.