Skip to content
Get started

Deletes a pet

client.pets.delete(numberpetID, RequestOptionsoptions?): void
delete/pet/{petId}

delete a pet

ParametersExpand Collapse
petID: number
Deletes a pet
import ArenaDemoDayDemoDocsDemoSite from 'arena-demo-day-demo-docs-demo-site-and-typescript-library';

const client = new ArenaDemoDayDemoDocsDemoSite({
  apiKey: 'My API Key',
});

await client.pets.delete(0);
Returns Examples