POST
/
customer
/
disable
Disable/enable customer
curl --request POST \
  --url https://api.keymint.dev/customer/disable \
  --header 'Authorization: Bearer <token>'
{
  "action": "toggleActive",
  "status": true,
  "message": "Customer disabled",
  "code": 0
}

Authorizations

Authorization
string
header
required

Access token for API authentication

Query Parameters

customerId
string
required

The unique identifier of the customer

Response

200 - application/json

Customer status toggled successfully

The response is of type object.