delete/customer/by-id?customerId=<CUSTOMER_ID>

Delete Customer

Permanently remove a customer from your account.

Authentication required: Bearer Token in Authorization header.

Parameters

customerIdrequired
string (query)

ID of the customer

e.g. <CUSTOMER_ID>
Idempotency-Key
string (header)

Client-generated unique key making a mutating request idempotent. Replaying a request with the same key returns the original result instead of duplicating side effects. Optional on POST/PUT/PATCH/DELETE.

e.g. <IDEMPOTENCY-KEY>

Responses

200Customer deleted successfully
400Missing required parameters
401Invalid API key
404Customer not found

Response Body (200)

action
string
status
boolean
code
integer
Request Example
curl -X DELETE "https://api.keymint.dev/customer/by-id?customerId=%3CCUSTOMER_ID%3E" \
  -H "Authorization: Bearer <YOUR_API_KEY>"
Response (200 OK)
{
  "action": "removeCustomer",
  "status": true,
  "code": 0
}