import Stigg from '@stigg/typescript';const client = new Stigg({ apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted});const response = await client.v1.events.addons.draft.removeAddonDraft('x');console.log(response.data);
Copy
Ask AI
{ "data": { "id": "<string>" }}
Addons
Remove addon draft
Removes a draft version of an addon.
DELETE
/
api
/
v1
/
addons
/
{id}
/
draft
JavaScript
Copy
Ask AI
import Stigg from '@stigg/typescript';const client = new Stigg({ apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted});const response = await client.v1.events.addons.draft.removeAddonDraft('x');console.log(response.data);