EYMINT
DocumentationAPI Reference
BlogDashboard
EYMINT
SectionsDocumentationAPI Reference
Go to Dashboard

For AI agents: the documentation index is at /llms.txt. Every docs page is also available as markdown by adding .md to its URL.

Overview

  • API Introduction
  • API Reference Overview
  • Authentication
  • Rate Limits
  • Error Codes

Customers

  • Create Customer
  • Get All Customers
  • Get Customer
  • Update Customer
  • Get Customer Keys
  • Toggle Status
  • Delete Customer

License Keys

  • Create Key
  • Get Key Info
  • Update Key
  • Activate Key
  • Sign Offline Key
  • Checkout Floating Session
  • Heartbeat Floating Session
  • Checkin Floating Session
  • Deactivate Key
  • Block Key
  • Unblock Key
  • Delete Key
delete/customer/by-id?customerId=078116d0069c32407b4f63

Delete Customer

Permanently delete a customer. Their license keys are kept and unassigned. Requires an `admin` key or the `customer:delete` grant; product-bound keys are refused. If the customer holds keys, the key also needs `license:manage` (or `license:write`) to unassign them.

Authentication required: Bearer Token in Authorization header.

Parameters

customerIdrequired
querystring

The customer ID.

Example078116d0069c32407b4f63
Idempotency-Key
headerstring

Use a unique value to safely retry this request without repeating its effects.

Example9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d

Responses

200Customer deleted
400`customerId` query parameter missing, or an `Idempotency-Key` reused for a different request. An `Idempotency-Key` longer than 255 characters, or with characters outside printable ASCII, returns `invalid_request`.
401
403The customer holds license keys and the API key can't unassign them.
404No customer with this ID in the workspace.
409
413
429
503

Response Body (200)

action
string
status
boolean
customerName
string
customerEmail
string (nullable)
message
string
code
integer
Request Example
curl -X DELETE "https://api.keymint.dev/customer/by-id?customerId=078116d0069c32407b4f63" \
  -H "Authorization: Bearer <YOUR_API_KEY>"
Response (200 OK)
{
  "action": "removeCustomer",
  "status": true,
  "customerName": "Jane Doe",
  "customerEmail": "jane@example.com",
  "message": "Customer deleted",
  "code": 0
}