Skip to main content

Delete dunning rules

DELETE 

https://euwest.api.elasticpath.com/v2/subscriptions/dunning-rules/:dunning_rule_uuid

You can delete a dunning rule at any time. If a dunning rule is deleted then Subscriptions reverts to the configuration used if no dunning rule is set; payment is retried once a day for 10 days, in total 11 payments. You can decide what action to take after the Subscriptions has stopped retrying the payments. See Dunning Rules.

Request

Path Parameters

    dunning_rule_uuid UUIDrequired

    The unique identifier of a dunning rule set.

Responses

Success. The dunning rule is removed.

Authorization: http

name: BearerTokentype: httpscheme: bearer
curl -L -X DELETE 'https://euwest.api.elasticpath.com/v2/subscriptions/dunning-rules/:dunning_rule_uuid' \
-H 'Authorization: Bearer <TOKEN>'
Request Collapse all
Base URL
https://euwest.api.elasticpath.com/v2
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!