APIDelete Coupon

Delete Coupon

Permanently delete an archived coupon. Note: Coupons must first be archived (by updating their status to "archived" via the Update Coupon endpoint) before they can be deleted.

DELETE/v2/projects/{project_id}/coupons/{coupon_id}

Authorization

Bearer TokenRequired

Path Parameters

project_idstringRequired

The unique identifier of the project.

coupon_idstringRequired

The unique identifier of the coupon.

Request
curl -X DELETE "https://api.botsubscription.com/v2/projects/YOUR_PROJECT_ID/coupons/11111111-1111-1111-1111-111111111111" \
  -H "Authorization: Bearer YOUR_TOKEN"
Coupon deletedapplication/json

No response body is returned on successful deletion.

Last updated: