import Stigg from '@stigg/typescript';const client = new Stigg({ apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted});const addon = await client.v1.addons.archive('x');console.log(addon.data);
Archives an addon, preventing it from being used in new subscriptions.
POST
/
api
/
v1
/
addons
/
{id}
/
archive
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 addon = await client.v1.addons.archive('x');console.log(addon.data);