Skip to main content
DELETE
/
api
/
v1
/
addons
/
{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.events.addons.draft.removeAddonDraft('x');

console.log(response.data);
{
  "data": {
    "id": "<string>"
  }
}

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 ID of the addon whose draft was removed.

Response confirming the addon draft was removed.

data
object
required