Skip to content

Convert Patient Tag to Site

Request

Convert a patient tag to a site.

Security
sessionToken
Path
clinicIdstring^[a-f0-9]{24}$required
patientTagIdstring^[a-f0-9]{24}$required
curl -i -X POST \
  'https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/patient_tags/{patientTagId}/site' \
  -H 'x-tidepool-session-token: YOUR_API_KEY_HERE'

Responses

The newly converted site.

Bodyapplication/json
idstring, = 24 characters(Object Id)^[a-f0-9]{24}$read-onlyrequired

String representation of a resource id

namestring, [ 1 .. 200 ] characters(siteName.v1)^[[:graph:]\p{L}\p{N}][[:graph:]\p{L}\p{N} ]*$required

The site's name.

numPatientsintegerread-only
Response
{ "id": "string", "name": "string", "numPatients": 0 }