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>"
}
}Removes a draft version of a plan.
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>"
}
}Server API Key
Server API Key
The unique identifier of the entity
1 - 255The ID of the plan whose draft was removed.
Response confirming the plan draft was removed.
Show child attributes