Cancel Appointment
Use the cancelAppointment mutation to cancel a scheduled user appointment.
Arguments
Argument Name
Type
Description
Argument Name
Type
Description
appointment
ID!
ID of the appointment to be cancelled.
Available Fields
Field Name
Type
Description
Field Name
Type
Description
message
Boolean
True if the appointment has been cancelled successfully. Otherwise, False
success
Boolean
Description of the result
Example
mutation{
cancelAppointment(
appointment:"QXBwb2ludG1lbnQ6MzI4MDA="
){
success
message
appointment{
id
title
start
end
}
}
}{
"data": {
"cancelAppointment": {
"success": true,
"message": "Appointment canceled. The coach will be notified.",
"appointment": {
"id": "QXBwb2ludG1lbnQ6MzI4MDA=",
"title": "Test",
"start": "2025-10-09T14:30:00+00:00",
"end": "2025-10-09T15:00:00+00:00"
}
}
}
}Last updated
Was this helpful?