For AI agents: the complete documentation index is available at https://ciderpress.dev/llms.txt, the full documentation bundle is available at https://ciderpress.dev/llms-full.txt, and this page is available as Markdown at https://ciderpress.dev/petstore/delete-pet.md.
Get started →

Deletes a pet

delete/pet/{petId}
deletePet
Deletes a pet

Parameters

header

NameTypeRequiredDescriptionDefault
api_keystring

path

NameTypeRequiredDescriptionDefault
petIdintegerrequiredPet id to delete

Responses

Authentication

petstore_auth (write:pets, read:pets)
Code Examples
curl -X DELETE 'https://api.example.com/pet/{petId}'