Skip to main content
DELETE
/
v1
/
promotions
/
{campaignId}
/
stacks
/
{stackId}
Delete Promotion Stack
curl --request DELETE \
  --url https://{cluster}.voucherify.io/v1/promotions/{campaignId}/stacks/{stackId} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-App-Id: <api-key>' \
  --header 'X-App-Token: <api-key>'
This response does not have an example.

Authorizations

X-App-Id
string
header
required
X-App-Token
string
header
required
Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

campaignId
string
required

ID of the promotion campaign. You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value, e.g., Loyalty Campaign.

Example:

"camp_rRsfatlwN7unSeUIJDCYedal"

stackId
string
required

Promotion stack ID.

Example:

"stack_KOIde7AUf08at12lZ1r3OfFL"

Response

Returns no content if deletion is successful.

I