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.plans.removeDraft('x');console.log(response.data);
{ "data": { "id": "<string>" }}
Plans
Remove plan draft
Removes a draft version of a plan.
DELETE
/
api
/
v1
/
plans
/
{id}
/
draft
JavaScript
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.plans.removeDraft('x');console.log(response.data);