TypeScript
import { Autumn } from 'autumn-js'; const autumn = new Autumn(); const { data, error } = await autumn.customers.delete('customer_id');
{ "success": true }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Whether to delete the customer and cancel all existing subscriptions in Stripe.