Events-Based Billing: Segments

Delete Single Segment

DELETE
/components/{component_id}/price_points/{price_point_id}/segments/{id}.json

Deletes a segment with the specified ID.

You may specify component and/or price point by using either the numeric ID or the handle:gold syntax.

Authorization

BasicAuth
AuthorizationBasic <token>

The username is a Maxio Chargify API key. The password is x.

In: header

Path Parameters

component_id*string

ID or Handle of the Component

price_point_id*string

ID or Handle of the Price Point belonging to the Component

id*number

The ID of the Segment

Response Body

curl -X DELETE "https://example.com/components/string/price_points/string/segments/0.json"
Empty