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
post/customer/disable?customerId=078116d0069c32407b4f63

Toggle Status

Toggle a customer between active and disabled (each call flips it). Licenses assigned to a disabled customer can't be activated or checked out. Requires an `admin` key or the `customer:write` grant; product-bound keys are refused.

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

200Status toggled
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
404No customer with this ID in the workspace.
409
413
429
503

Response Body (200)

action
string
status
boolean
customerName
string
active
boolean

The customer's new status.

Request Example
curl -X POST "https://api.keymint.dev/customer/disable?customerId=078116d0069c32407b4f63" \
  -H "Authorization: Bearer <YOUR_API_KEY>"
Response (200 OK)
{
  "action": "toggleActive",
  "status": true,
  "customerName": "Jane Doe",
  "active": false
}