import Limitry from '@limitry/sdk';const client = new Limitry({ apiKey: process.env['LIMITRY_API_KEY'], // This is the default and can be omitted});const customer = await client.customers.delete('id');console.log(customer.success);
Copy
{ "success": true}
Customers
Delete a customer
Delete a customer by ID.
DELETE
/
customers
/
{id}
JavaScript
Copy
import Limitry from '@limitry/sdk';const client = new Limitry({ apiKey: process.env['LIMITRY_API_KEY'], // This is the default and can be omitted});const customer = await client.customers.delete('id');console.log(customer.success);