deletePet

DELETE {{baseUrl}}/pet/2?api_key=special-key

Deletes a pet.

Parameters

NameDescription
api_keystring(header)api_key
petId *integer($int64)(path)Pet id to delete

Responses

CodeDescription
400

404
Invalid ID supplied

Pet not found

Response Content Type

application/json

Example

Request Params

KeyDatatypeRequiredDescription
api_keystring