cURL
curl --request DELETE \ --url https://da.liteapi.travel/vouchers/{id}/ \ --header 'X-Api-Key: <api-key>'
{ "message": "Voucher deleted successfully" }
Permanently remove a voucher from your system. Use with caution - deleted vouchers cannot be recovered.
Provide the voucher ID in the URL path. Returns confirmation of deletion.
API key required for authorization
Unique identifier of the voucher to be deleted
Voucher deleted successfully
Was this page helpful?