Customers
Delete Customer
tolt.js
Guides / How To
Customers
Clicks
Commissions
Transactions
Customers
Delete Customer
This endpoint deletes a customer.
DELETE
/
v1
/
customers
/
:id
curl -X DELETE 'https://api.tolt.com/v1/customers/cust_dK9bzRGn46BhVgNFHD6fDgXW' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d ''
{
"success": true,
"data": {
"id": "cust_dK9bzRGn46BhVgNFHD6fDgXW",
"deleted": true
}
}
Base URL https://api.tolt.com
Response
Whether the request was successful
curl -X DELETE 'https://api.tolt.com/v1/customers/cust_dK9bzRGn46BhVgNFHD6fDgXW' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d ''
{
"success": true,
"data": {
"id": "cust_dK9bzRGn46BhVgNFHD6fDgXW",
"deleted": true
}
}
curl -X DELETE 'https://api.tolt.com/v1/customers/cust_dK9bzRGn46BhVgNFHD6fDgXW' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d ''
{
"success": true,
"data": {
"id": "cust_dK9bzRGn46BhVgNFHD6fDgXW",
"deleted": true
}
}