DELETE
/
promo_codes
/
{id}
curl --request DELETE \
  --url https://v2.firstpromoter.com/api/v2/company/promo_codes/{id} \
  --header 'Account-ID: <account-id>' \
  --header 'Authorization: Bearer <token>'
This response does not have an example.

Authorizations

Authorization
string
header
required

API key passed as a Bearer token in the Authorization header. You can find your API Key on Your FirstPromoter Dashboard. Navigate to Settings → Integrations section → Manage API Keys

Headers

Account-ID
string
required

Account id. You can find your Account ID on Your FirstPromoter Dashboard. Navigate to Settings → Integrations

Path Parameters

id
integer
required

ID of the promo code

Response

200

Promo code archived successfully