Skip to main content
PUT
Update a doctor

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-Tenant
number
required

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Path Parameters

id
integer
required

The doctor identifier

Body

application/json
name
string

Doctor's name.

Maximum string length: 255
email
string<email>

Doctor's email address.

Maximum string length: 255
password
string

Doctor's password.

Minimum string length: 8
password_confirmation
string

Doctor's password confirmation. Must match the password field.

Minimum string length: 8
phone
string | null

Doctor's phone number.

Maximum string length: 20
title
enum<string> | null

Doctor's title.

Available options:
Uzm. Dr.,
Dr.,
Prof. Dr.,
Doç. Dr.,
Arş. Gör.,
Öğr. Gör.
blood_group
enum<string> | null

Doctor's blood group.

Available options:
ARh+,
ARh-,
BRh+,
BRh-,
ABRh+,
ABRh-,
ORh+,
ORh-
Maximum string length: 10
language
string[] | null

Doctor's language preferences.

avatar_url
string | null

Doctor's avatar URL.

Maximum string length: 1000
is_active
boolean | null

Doctor's active status.

bio
string | null

The biography or short description.

Maximum string length: 1000
treatment_ids
integer[] | null

An array of treatment IDs.

A treatment ID.

Required range: x >= 1

Response

success
string
required
data
DoctorResource · object
required