Skip to main content
DELETE
/
pet
/
{petId}
Deletes a pet.
curl --request DELETE \
  --url http://api/v3/pet/{petId} \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

api_key
string

Path Parameters

petId
integer
required

Pet id to delete

Response

Pet deleted