Overview / Catalog / Delete a coupon

Delete a coupon

delete https://api.flactrum.com/v1/coupons/{coupon}
Required scope coupons.write
Success status204

Parameters

NameInTypeDescription
coupon * path string ULID of the record.

Examples

Recorded from the test suite — these are real requests and their real responses.

curl -X DELETE 'https://api.flactrum.com/v1/coupons/01m43mxvk5z3haxsbnz1dftdm5' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 204

(empty body)