Delete Single Segment
Built with APIMatic
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.
The username is a Maxio Chargify API key and the password is x. Basic authentication works only with the US and EU environments, which connect to chargify.com directly. The Maxio API Gateway environment does not accept Basic authentication.
In: header
ID or Handle of the Component
ID or Handle of the Price Point belonging to the Component
The ID of the Segment
curl -X DELETE \ --url 'https://subdomain.chargify.com/components/COMPONENT_ID/price_points/PRICE_POINT_ID/segments/1.json' \ -H 'Authorization: Bearer ACCESS_TOKEN'