Skip to main content
DELETE
/
coupon-list
/
{coupon_list_id}
/
files
/
{coupon_file_id}
Delete a Coupon File from the Coupon List
curl --request DELETE \
  --url https://api-0{dc}.moengage.com/v1/coupon-list/{coupon_list_id}/files/{coupon_file_id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'MOE-APPKEY: <moe-appkey>'
{
  "error": {
    "code": "invalid-request",
    "message": "The requested JSON is incorrect. Please verify and try again."
  }
}
InformationThere is no request body or content to send for this request except for headers.

Rate Limit

You can delete:
  • 5 coupon files per minute or
  • 50 coupon files per day

Authorizations

Authorization
string
header
required

Uses Workspace ID as username and API Key as password.

Headers

MOE-APPKEY
string
required

This is the workspace ID (earlier APP ID) of your MoEngage workspace. The MOE-APPKEY has to be passed in the request. You can find your MoEngage Workspace ID in the MoEngage Dashboard: Settings -> Account -> APIs -> Workspace ID (earlier app id).

Path Parameters

coupon_list_id
string
required

The unique identifier for the coupon list.

coupon_file_id
string
required

The unique identifier for the coupon file.

Response

Success (No content) The request is successful, and the coupon file is deleted.