Update a customer's name and email. Send both: omitting `email` removes it. Requires an `admin` key or the `customer:write` grant; product-bound keys are refused. Emails are unique within a workspace.
If the submitted email already belongs to another customer in the same workspace, Keymint leaves the customer unchanged and returns HTTP 409 Conflict with a specific duplicate-email message.
Send name and email on every update: omitting email (or sending an empty string or null) removes the customer's email. Changing the email of a customer who holds licenses needs the license:read permission (admin keys have it); without it the request returns 403 with errorCode: "forbidden".
Authorization header.Use a unique value to safely retry this request without repeating its effects.
9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6dThe customer's name (required on every update). 3–255 characters after trimming; can't be a URL or contain control characters.
The customer to update. 22–256 characters.
The customer's email. Omitting it, or sending an empty string or null, removes the email. Must be unique within the workspace; changing the email of a customer who holds licenses needs the `license:read` permission. A valid email address, 3–320 characters.
The customer record after the update: the same public fields as `GET /customer/by-id`.