Skip to main content

Deletes a pet

Path Parameters

petId

int64

REQUIRED

Pet id to delete

Header Parameters

api_key

string

Example:

Bearer <TOKEN>

Responses

400

Invalid pet value

deletePet
DELETE /pet/:petId
petId — path
api_key — header
//petstore.swagger.io/v2
curl -L -X DELETE '//petstore.swagger.io/v2/pet/:petId'