Skip to main content

Delete proration policy

DELETE 

https://euwest.api.elasticpath.com/v2/subscriptions/proration-policies/:proration_policy_uuid

A proration policy cannot be deleted if it is being used by any subscriptions. This means you must detach a proration policy that you want to delete from any offerings using that policy before deleting the policy. See Remove a proration policy from an offering.

Request

Path Parameters

    proration_policy_uuid UUIDrequired

    The unique identifier of a proration policy.

Responses

Success. The proration policy details are removed.

Authorization: http

name: BearerTokentype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://euwest.api.elasticpath.com/v2/subscriptions/proration-policies/:proration_policy_uuid");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
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!

We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.