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?