curl -X PUT "https://api.saludya.com/api/doctors/doc_8x9y2z3a4b5c6d7e" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"available": false
}'
{
"id": "doc_8x9y2z3a4b5c6d7e",
"name": "Dr. Maria Garcia",
"specialty": "Cardiology",
"license_number": "MD-12345-CA",
"email": "m.garcia@saludya.com",
"phone": "+1-555-0125",
"bio": "Board-certified cardiologist with 15 years of experience in interventional cardiology and heart disease prevention. Graduate of Stanford Medical School. Now specializing in preventive cardiology and cardiac rehabilitation.",
"available": true,
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-03-06T16:45:00Z"
}
Update information for an existing doctor
curl -X PUT "https://api.saludya.com/api/doctors/doc_8x9y2z3a4b5c6d7e" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"available": false
}'
{
"id": "doc_8x9y2z3a4b5c6d7e",
"name": "Dr. Maria Garcia",
"specialty": "Cardiology",
"license_number": "MD-12345-CA",
"email": "m.garcia@saludya.com",
"phone": "+1-555-0125",
"bio": "Board-certified cardiologist with 15 years of experience in interventional cardiology and heart disease prevention. Graduate of Stanford Medical School. Now specializing in preventive cardiology and cardiac rehabilitation.",
"available": true,
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-03-06T16:45:00Z"
}
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/DUVAN100/saludya-api/llms.txt
Use this file to discover all available pages before exploring further.
curl -X PUT "https://api.saludya.com/api/doctors/doc_8x9y2z3a4b5c6d7e" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"available": false
}'
{
"id": "doc_8x9y2z3a4b5c6d7e",
"name": "Dr. Maria Garcia",
"specialty": "Cardiology",
"license_number": "MD-12345-CA",
"email": "m.garcia@saludya.com",
"phone": "+1-555-0125",
"bio": "Board-certified cardiologist with 15 years of experience in interventional cardiology and heart disease prevention. Graduate of Stanford Medical School. Now specializing in preventive cardiology and cardiac rehabilitation.",
"available": true,
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-03-06T16:45:00Z"
}
{
"available": false
}
{
"email": "new.email@saludya.com",
"phone": "+1-555-9999"
}
{
"specialty": "Cardiology & Cardiac Electrophysiology",
"bio": "Updated biography with new credentials..."
}
false does not automatically cancel existing appointmentsupdated_at timestamp is automatically set to the current time when any field is modified