Discounts
Remove a discount
Needs the subscriptions:write scope, or a full-access key. About scopes
DELETE
/
api/v1/subscriptions/{id}/discounts/{discountId}Authorization
AuthorizationRequiredBearer <token>
An API key: gpy_test_… or gpy_live_… (or an agent key, agk_…).
In: header
Path Parameters
idRequiredstring
Format:
"uuid"discountIdRequiredstring
Format:
"uuid"The removed discount. Emits subscription.discount_removed.