There are various times when you’ll want to manage a campaign’s accessibility. This can be done by two API methods for managing the campaign state - enable and disable.
Sets campaign state to inactive. The vouchers in this campaign can no longer be redeemed.
The access token received from the authorization server in the OAuth 2.0 flow.
The campaign ID or name of the campaign being disabled. You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
"camp_rRsfatlwN7unSeUIJDCYedal"
Returns an empty json {}.
Response body schema for POST v1/campaigns/{campaignId}/disable.