Skip to main content
DELETE
/
pet
/
{petId}
Deletes a pet.
curl --request DELETE \
  --url https://petstore3.swagger.io/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<int64>
required

Pet id to delete

Response

Pet deleted