This endpoint requires admin authentication. Include a valid admin JWT token in the Authorization header.
Path Parameters
The unique identifier of the coupon to delete
Response
Returns a success message when the coupon is deleted.
Confirmation message indicating successful deletion
curl -X DELETE https://api.example.com/coupons/1 \
-H "Authorization: Bearer YOUR_ADMIN_TOKEN"
{
"message": "Coupon removed successfully"
}
Behavior
- The coupon must exist before deletion (returns 404 if not found)
- The deletion is permanent and cannot be undone
- Returns a success message upon successful deletion
- Admin authentication is required
Make sure you want to permanently delete the coupon before calling this endpoint. There is no way to recover a deleted coupon.