cURL
curl --request POST \ --url https://api.keymint.dev/customer/disable \ --header 'Authorization: Bearer <token>'
{ "action": "toggleActive", "status": true, "message": "Customer disabled", "code": 0 }
Toggles the active status of a customer account (disable or enable)
Access token for API authentication
The unique identifier of the customer
Customer status toggled successfully
The response is of type object.
object