# Associate Clinician to User Internal endpoint to associate a clinician to a user. Endpoint: PATCH /v1/clinics/{clinicId}/invites/clinicians/{inviteId}/clinician Version: 1.0 Security: sessionToken ## Path parameters: - `clinicId` (string, required) - `inviteId` (string, required) ## Request fields (application/json): - `userId` (string, required) ## Response 200 fields (application/json): - `id` (string) String representation of a Tidepool User ID. Old style IDs are 10-digit strings consisting of only hexadeximcal digits. New style IDs are 36-digit [UUID v4](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_4_(random)) - `inviteId` (string) The id of the invite if it hasn't been accepted - `email` (string, required) - `name` (string) The name of the clinician - `roles` (array, required) Enum: "CLINIC_ADMIN", "CLINIC_MEMBER", "PRESCRIBER" - `createdTime` (string, required) - `updatedTime` (string, required)