Skip to main content
DELETE
Remove Promotion from Plan
Removes the attachment of a promotion from a plan. The plan no longer offers the promotion, so it cannot be applied to new subscriptions on the plan. Subscriptions that already have the promotion are not changed: they keep their copy until it is COMPLETED or ENDED. The response has no body. To end the promotion on one subscription, use Remove Promotion from Subscription.
Changing cyclesAttachments are not edited. To change cycles or on_pause, remove the attachment with this endpoint and then attach the promotion again.

Errors

Authorizations

public-api-key
string
header
default:<Your public-api-key>
required
private-secret-key
string
header
default:<Your private-secret-key>
required

Headers

X-Account-Code
string
required

The account_id found in your Yuno Dashboard (UUID). Required — omitting it returns 400 BAD_REQUEST ("Invalid x-account-code header.").

Path Parameters

plan_id
string
required

The unique identifier of the plan.

promotion_id
string
required

The ID of the promotion to remove from the plan (UUID).

Response

  1. The promotion was removed from the plan. The response has no body.