TypeScript
import { Autumn } from 'autumn-js' const autumn = new Autumn() const result = await autumn.customers.delete({ customerId: "cus_123", });
{ "success": true }
Deletes a customer by ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the customer to delete
Whether to also delete the customer in Stripe
OK