Pular para o conteúdo principal
PATCH
Atualizar uma conta de médico

Autorizações

Authorization
string
header
obrigatório

Chave de API enviada como token Bearer

Parâmetros de caminho

account_id
string
obrigatório

Corpo

application/json

Request body for updating an institutional doctor account. Send only the fields to change; any other field is rejected with 400.

nameFull
string | null
Required string length: 1 - 500
Exemplo:

"Dr. Juan Pérez"

doctorSpecialties
enum<string>[] | null

Replaces the account's specialties. Accepts either the specialty key ('CARDIOLOGY') or value ('cardiology'); always persisted as the value.

Minimum array length: 1
Opções disponíveis:
acupuncture,
alternativeMedicine,
ayurvedicMedicine,
chiropractic,
herbalMedicine,
homeopathy,
naturopathy,
traditionalChineseMedicine,
cosmeticDentistry,
dentistry,
developmentalBehavioralPediatrics,
endodontics,
forensicDentistry,
maxillofacialProsthodontics,
oralMaxillofacialSurgery,
oralMedicine,
oralPathology,
oralSurgery,
orthodontics,
pediatricDentistry,
periodontics,
prosthodontics,
addictionPsychiatry,
adolescentMedicine,
aerospaceMedicine,
allergyImmunology,
andrology,
anesthesiology,
anesthesiologyCriticalCare,
bariatricSurgery,
breastRadiology,
breastSurgery,
cardiacSurgery,
cardiovascularSurgery,
cardiology,
cardiovascularDisease,
cardiovascularRiskProgram,
childAbusePediatrics,
childAdolescentPsychiatry,
childNeurology,
childWelfareSocialWork,
clinicalNeurophysiology,
clinicalSocialWork,
colorectalSurgery,
communityMedicine,
communitySocialWork,
consultationLiaisonPsychiatry,
cosmeticDermatology,
craniofacialTrauma,
dermatology,
dermoscopy,
diabetes,
diagnosticRadiology,
electrophysiology,
emergencyCriticalCare,
emergencyMedicine,
emergencyPsychiatry,
endocrineSurgery,
endocrinology,
epilepsy,
facialPlasticSurgery,
familyMedicine,
familySocialWork,
footAnkleSurgery,
forensicPsychiatry,
forensicSocialWork,
gastroenterology,
generalMedicine,
generalMedicinePsychiatry,
generalSurgery,
geriatricMedicine,
geriatricPsychiatry,
geriatricSocialWork,
ginecology,
gynecologicOncology,
gynecologicSurgery,
gynecology,
handSurgery,
headNeckSurgery,
headacheMedicine,
heartFailureTransplantCardiology,
hematology,
hepatobiliarySurgery,
hipKneeSurgery,
hospitalist,
infectiousDisease,
internalCriticalCare,
internalMedicine,
interventionalCardiology,
interventionalRadiology,
maternalFetalMedicine,
medicalSocialWork,
militarySocialWork,
minimallyInvasiveGynecologicSurgery,
mohsSurgery,
musculoskeletalRadiology,
neonatology,
nephrology,
neurocriticalCare,
neuroimmunology,
neurology,
neuromuscularMedicine,
neuroradiology,
neurorehabilitation,
neurosurgery,
neurotology,
nuclearMedicine,
obstetrics,
obstetricsGynecology,
occupationalMedicine,
occupationalSocialWork,
oculoplasticSurgery,
oncology,
oncologySocialWork,
ophthalmology,
orthopedicHandSurgery,
orthopedicSportsMedicine,
orthopedicTrauma,
orthopedics,
otolaryngology,
painMedicine,
palliativeMedicine,
palliativeSocialWork,
pediatricAllergyImmunology,
pediatricAnesthesiology,
pediatricCardiology,
pediatricCriticalCare,
pediatricDermatology,
pediatricEmergencyMedicine,
pediatricEndocrinology,
pediatricENT,
pediatricGastroenterology,
pediatricHematologyOncology,
pediatricInfectiousDisease,
pediatricNephrology,
pediatricNeurology,
pediatricCardiacSurgery,
pediatricOncology,
pediatricOphthalmology,
pediatricOrthopedics,
pediatricPalliativeCare,
pediatricPulmonology,
pediatricRadiology,
pediatricRheumatology,
pediatricSocialWork,
pediatricSurgery,
pediatricTrauma,
pediatricUrology,
pediatrics,
perinatalPsychiatry,
physicalMedicineRehab,
plasticSurgery,
prenatalCareProgram,
preventiveMedicine,
psychiatricSocialWork,
psychiatry,
psychosomaticMedicine,
publicHealth,
pulmonaryDisease,
pulmonology,
radiationOncologist,
radiationOncology,
reproductiveEndocrinology,
retinaSurgery,
rheumatology,
riasProgram,
manager,
schoolSocialWork,
shoulderElbowSurgery,
sleepMedicine,
socialWork,
spinalCordInjury,
spinalTrauma,
spineSurgery,
sportsMedicine,
substanceAbuseSocialWork,
surgicalOncology,
telemedicine,
thoracicSurgery,
transplantHepatology,
transplantSurgery,
traumaSurgery,
traumatology,
triage,
unknown,
urgentCare,
urologicOncology,
urology,
vascularSurgery,
nursing,
clinicalNutrition,
eatingDisorderNutrition,
gastroenterologicNutrition,
geriatricNutrition,
nutrition,
oncologyNutrition,
pediatricNutrition,
renalNutrition,
sportsNutrition,
clinicalPsychology,
counselingPsychology,
developmentalPsychology,
forensicPsychology,
geropsychology,
healthPsychology,
industrialOrganizationalPsychology,
militaryPsychology,
neuropsychology,
positivePsychology,
psychology,
rehabilitationPsychology,
schoolPsychology,
sportsPsychology,
occupationalTherapy,
physicalTherapy,
respiratoryTherapy,
speechTherapy,
therapy,
other
Exemplo:
internalCode
string | null

Your institution's code for this account. It can be set only on an account that has no internalCode, for example an account created through an invitation. Sending the stored value again changes nothing. A different value returns 409: contact Telepatia support to change a stored code. Each internalCode identifies one account of your institution.

Required string length: 1 - 128
Exemplo:

"DOC-001"

Resposta

Resposta bem-sucedida

Response body for fetching an institutional doctor account.

id
string
obrigatório

Account publicId (acc_*).

Exemplo:

"acc_a1b2c3d4e5f6g7h8"

email
string
obrigatório
Exemplo:

"dr.juan@clinica.com"

doctorSpecialties
enum<string>[]
obrigatório
Opções disponíveis:
acupuncture,
alternativeMedicine,
ayurvedicMedicine,
chiropractic,
herbalMedicine,
homeopathy,
naturopathy,
traditionalChineseMedicine,
cosmeticDentistry,
dentistry,
developmentalBehavioralPediatrics,
endodontics,
forensicDentistry,
maxillofacialProsthodontics,
oralMaxillofacialSurgery,
oralMedicine,
oralPathology,
oralSurgery,
orthodontics,
pediatricDentistry,
periodontics,
prosthodontics,
addictionPsychiatry,
adolescentMedicine,
aerospaceMedicine,
allergyImmunology,
andrology,
anesthesiology,
anesthesiologyCriticalCare,
bariatricSurgery,
breastRadiology,
breastSurgery,
cardiacSurgery,
cardiovascularSurgery,
cardiology,
cardiovascularDisease,
cardiovascularRiskProgram,
childAbusePediatrics,
childAdolescentPsychiatry,
childNeurology,
childWelfareSocialWork,
clinicalNeurophysiology,
clinicalSocialWork,
colorectalSurgery,
communityMedicine,
communitySocialWork,
consultationLiaisonPsychiatry,
cosmeticDermatology,
craniofacialTrauma,
dermatology,
dermoscopy,
diabetes,
diagnosticRadiology,
electrophysiology,
emergencyCriticalCare,
emergencyMedicine,
emergencyPsychiatry,
endocrineSurgery,
endocrinology,
epilepsy,
facialPlasticSurgery,
familyMedicine,
familySocialWork,
footAnkleSurgery,
forensicPsychiatry,
forensicSocialWork,
gastroenterology,
generalMedicine,
generalMedicinePsychiatry,
generalSurgery,
geriatricMedicine,
geriatricPsychiatry,
geriatricSocialWork,
ginecology,
gynecologicOncology,
gynecologicSurgery,
gynecology,
handSurgery,
headNeckSurgery,
headacheMedicine,
heartFailureTransplantCardiology,
hematology,
hepatobiliarySurgery,
hipKneeSurgery,
hospitalist,
infectiousDisease,
internalCriticalCare,
internalMedicine,
interventionalCardiology,
interventionalRadiology,
maternalFetalMedicine,
medicalSocialWork,
militarySocialWork,
minimallyInvasiveGynecologicSurgery,
mohsSurgery,
musculoskeletalRadiology,
neonatology,
nephrology,
neurocriticalCare,
neuroimmunology,
neurology,
neuromuscularMedicine,
neuroradiology,
neurorehabilitation,
neurosurgery,
neurotology,
nuclearMedicine,
obstetrics,
obstetricsGynecology,
occupationalMedicine,
occupationalSocialWork,
oculoplasticSurgery,
oncology,
oncologySocialWork,
ophthalmology,
orthopedicHandSurgery,
orthopedicSportsMedicine,
orthopedicTrauma,
orthopedics,
otolaryngology,
painMedicine,
palliativeMedicine,
palliativeSocialWork,
pediatricAllergyImmunology,
pediatricAnesthesiology,
pediatricCardiology,
pediatricCriticalCare,
pediatricDermatology,
pediatricEmergencyMedicine,
pediatricEndocrinology,
pediatricENT,
pediatricGastroenterology,
pediatricHematologyOncology,
pediatricInfectiousDisease,
pediatricNephrology,
pediatricNeurology,
pediatricCardiacSurgery,
pediatricOncology,
pediatricOphthalmology,
pediatricOrthopedics,
pediatricPalliativeCare,
pediatricPulmonology,
pediatricRadiology,
pediatricRheumatology,
pediatricSocialWork,
pediatricSurgery,
pediatricTrauma,
pediatricUrology,
pediatrics,
perinatalPsychiatry,
physicalMedicineRehab,
plasticSurgery,
prenatalCareProgram,
preventiveMedicine,
psychiatricSocialWork,
psychiatry,
psychosomaticMedicine,
publicHealth,
pulmonaryDisease,
pulmonology,
radiationOncologist,
radiationOncology,
reproductiveEndocrinology,
retinaSurgery,
rheumatology,
riasProgram,
manager,
schoolSocialWork,
shoulderElbowSurgery,
sleepMedicine,
socialWork,
spinalCordInjury,
spinalTrauma,
spineSurgery,
sportsMedicine,
substanceAbuseSocialWork,
surgicalOncology,
telemedicine,
thoracicSurgery,
transplantHepatology,
transplantSurgery,
traumaSurgery,
traumatology,
triage,
unknown,
urgentCare,
urologicOncology,
urology,
vascularSurgery,
nursing,
clinicalNutrition,
eatingDisorderNutrition,
gastroenterologicNutrition,
geriatricNutrition,
nutrition,
oncologyNutrition,
pediatricNutrition,
renalNutrition,
sportsNutrition,
clinicalPsychology,
counselingPsychology,
developmentalPsychology,
forensicPsychology,
geropsychology,
healthPsychology,
industrialOrganizationalPsychology,
militaryPsychology,
neuropsychology,
positivePsychology,
psychology,
rehabilitationPsychology,
schoolPsychology,
sportsPsychology,
occupationalTherapy,
physicalTherapy,
respiratoryTherapy,
speechTherapy,
therapy,
other
Exemplo:
enabled
boolean
obrigatório
Exemplo:

true

createdAt
string
obrigatório
Exemplo:

"2024-01-15T10:30:00Z"

nameFull
string | null
Exemplo:

"Dr. Juan Pérez"

internalCode
string | null
Exemplo:

"DOC-001"

roles
string[]

Account roles, e.g. doctor or institutional.

Exemplo: