Typescript (SDK)
import { Autumn } from 'autumn-js'
const autumn = new Autumn()
const result = await autumn.customers.delete({
customerId: "cus_123",
});{
"success": true
}Customers
Delete Customer
Deletes a customer by ID.
POST
/
v1
/
customers.delete
Typescript (SDK)
import { Autumn } from 'autumn-js'
const autumn = new Autumn()
const result = await autumn.customers.delete({
customerId: "cus_123",
});{
"success": true
}Body Parameters
Response
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Body
application/json
Response
200 - application/json
OK
โI