Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request DELETE \ --url https://petstore3.swagger.io/api/v3/pet/{petId} \ --header 'Authorization: Bearer <token>'
Delete a pet.
The access token received from the authorization server in the OAuth 2.0 flow.
Pet id to delete
Pet deleted
Was this page helpful?