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

appointment

Appointment

A structured version of the appointment details.

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
    }
  }
}

Last updated

Was this helpful?