Accept an invite to join a clinic as clinician. The clinician will be associated to the currently authenticated user if the email in their profile matches the email of the invite.
Security
sessionToken
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
- Mock serverhttps://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinicians/{userId}/invites/{inviteId}
- integrationhttps://external.integration.tidepool.org/v1/clinicians/{userId}/invites/{inviteId}
- productionhttps://api.tidepool.org/v1/clinicians/{userId}/invites/{inviteId}
- dev1https://dev1.dev.tidepool.org/v1/clinicians/{userId}/invites/{inviteId}
- qa1https://qa1.development.tidepool.org/v1/clinicians/{userId}/invites/{inviteId}
- qa2https://qa2.development.tidepool.org/v1/clinicians/{userId}/invites/{inviteId}
curl -i -X PUT \
'https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinicians/{userId}/invites/{inviteId}' \
-H 'x-tidepool-session-token: YOUR_API_KEY_HERE'OK
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
Items Enum:"CLINIC_ADMIN""CLINIC_MEMBER""PRESCRIBER"
Response
{ "id": "string", "inviteId": "string", "email": "user@example.com", "name": "string", "roles": [ "CLINIC_ADMIN" ], "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z" }