Skip to content

Update Clinician

Request

Update existing clinician

Security
sessionToken
Path
clinicIdstring^[a-f0-9]{24}$required
clinicianIdstring^([0-9a-f]{10}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-...required
Bodyapplication/json
inviteIdstring

The id of the invite if it hasn't been accepted

emailstring, (email)required
namestring, non-empty

The name of the clinician

rolesArray of strings, non-empty, unique(Clinician Permissions)required
Items Enum:"CLINIC_ADMIN""CLINIC_MEMBER""PRESCRIBER"
curl -i -X PUT \
  'https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/clinicians/{clinicianId}' \
  -H 'Content-Type: application/json' \
  -H 'x-tidepool-session-token: YOUR_API_KEY_HERE' \
  -d '{
    "inviteId": "string",
    "email": "user@example.com",
    "name": "string",
    "roles": [
      "CLINIC_ADMIN"
    ]
  }'

Responses

OK