provider pet DELETE /pet/{petId}
@utdk/petstore /pet/{petId}
Deletes a pet.
Delete a pet.
api_key header
string
petId path required
Pet id to delete
integer

Try it

Authentication
Configure credentials for Swagger Petstore - OpenAPI 3.0
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

deletepet
DELETE/pet/{petId}
Delete a pet.

Parameters

required

Pet id to delete

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import petstore from '@utdk/petstore';

await petstore.deletepet()