Skip to main content

Destroy coupon

Route

DELETE
/api/v1/coupons/:code

Usage

LAGO_URL="https://api.getlago.com"
API_KEY="__YOUR_API_KEY__"

curl --location --request DELETE "$LAGO_URL/api/v1/coupons/:code" \
--header "Authorization: Bearer $API_KEY"

Responses

The coupon was successfully destroyed

Returns a coupon object.