curl --request DELETE \
--url https://api.example.com/api/appointments/:id{
"error": {
"code": "<string>",
"message": "<string>"
}
}Permanently delete an appointment
curl --request DELETE \
--url https://api.example.com/api/appointments/:id{
"error": {
"code": "<string>",
"message": "<string>"
}
}Permanently delete an appointment from the system. This action cannot be undone.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 DELETE "https://api.saludya.com/api/appointments/apt_7k3m9n2p4q?send_notification=true&reason=Duplicate%20appointment" \
-H "Authorization: Bearer YOUR_API_TOKEN"
curl -X DELETE "https://api.saludya.com/api/appointments/apt_7k3m9n2p4q?send_notification=false" \
-H "Authorization: Bearer YOUR_API_TOKEN"
204 No Content
No response body is returned on successful deletion.
{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API token"
}
}
{
"error": {
"code": "FORBIDDEN",
"message": "You don't have permission to delete this appointment"
}
}
{
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Appointment with ID 'apt_7k3m9n2p4q' not found"
}
}
{
"error": {
"code": "CANNOT_DELETE",
"message": "Cannot delete appointment that is currently in progress"
}
}
{
"error": {
"code": "DELETION_NOT_ALLOWED",
"message": "Cannot delete completed appointments. Contact support for assistance."
}
}
cancelled. This preserves appointment history and provides better audit trails for medical records.