Skip to main content
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 response = await client.v1.events.addons.archiveAddon('x');

console.log(response.data);
{
  "data": {
    "id": "addon-extra-seats",
    "displayName": "Extra Seats",
    "description": "Additional team member seats",
    "productId": "product-starter",
    "status": "PUBLISHED",
    "pricingType": "PAID",
    "billingId": "price_1234567890",
    "versionNumber": 1,
    "isLatest": true,
    "entitlements": [
      {
        "type": "FEATURE",
        "id": "feature-advanced-analytics"
      },
      {
        "type": "CREDIT",
        "id": "api-calls"
      }
    ],
    "metadata": {},
    "createdAt": "2026-12-25T16:19:04.237Z",
    "updatedAt": "2026-04-04T18:40:30.337Z",
    "maxQuantity": 100,
    "dependencies": [
      "addon-premium-support"
    ]
  }
}

Authorizations

X-API-KEY
string
header
required

Server API Key

Headers

X-API-KEY
string
required

Server API Key

Path Parameters

id
string
required

The unique identifier of the entity

Required string length: 1 - 255

Response

The archived addon object.

Response object

data
Addon · object
required

Addon configuration object