Delete Voucher
curl --request DELETE \
--url https://{cluster}.voucherify.io/v1/vouchers/{code} \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{
"code": 404,
"key": "not_found",
"message": "Resource not found",
"details": "Cannot find voucher with id 10OFF",
"request_id": "v-0ae28d3cec96bb1b7e",
"resource_id": "10OFF",
"resource_type": "voucher"
}Delete Voucher
Deletes a voucher. This operation cannot be undone. Additionally, this operation removes any redemptions on the voucher.
If the force parameter is set to false or not set at all, the voucher will be moved to the bin.
DELETE
/
v1
/
vouchers
/
{code}
Delete Voucher
curl --request DELETE \
--url https://{cluster}.voucherify.io/v1/vouchers/{code} \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{
"code": 404,
"key": "not_found",
"message": "Resource not found",
"details": "Cannot find voucher with id 10OFF",
"request_id": "v-0ae28d3cec96bb1b7e",
"resource_id": "10OFF",
"resource_type": "voucher"
}Authorizations
X-App-Id & X-App-TokenX-Voucherify-OAuth
Scopes
Query Parameters
Response
Returns no content if deletion is successful.

