cURL
curl --request DELETE \ --url https://api.givebutter.com/v1/campaigns/{campaign}/discount-codes/{discountCode} \ --header 'Authorization: Bearer <token>'
{ "message": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The campaign ID
The discount code ID
No content
Was this page helpful?