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.addons.removeDraft('x');
console.log(response.data);{
"data": {
"id": "<string>"
}
}Removes a draft version of an addon.
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.addons.removeDraft('x');
console.log(response.data);{
"data": {
"id": "<string>"
}
}