Skip to content

Update Patient Permissions

Request

Update permissions that a clinic has over a patient account. If all permissions are revoked as a result of the update, the patient profile will be removed from the clinic.

Only patients can change the permissions.

Security
sessionToken
Path
clinicIdstring^[a-f0-9]{24}$required
patientIdstring^([0-9a-f]{10}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-...required
Bodyapplication/json
custodianobject
viewobject
noteobject
uploadobject
curl -i -X PUT \
  'https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/patients/{patientId}/permissions' \
  -H 'Content-Type: application/json' \
  -H 'x-tidepool-session-token: YOUR_API_KEY_HERE' \
  -d '{
    "custodian": {},
    "view": {},
    "note": {},
    "upload": {}
  }'

Responses

OK

Bodyapplication/json
custodianobject
viewobject
noteobject
uploadobject
Response
{ "custodian": {}, "view": {}, "note": {}, "upload": {} }