Delete appointment
POST
http://localhost:3000/graphqlMutation
mutation DeleteAppointment($deleteAppointmentId: Float!) {
deleteAppointment(id: $deleteAppointmentId) {
message
status
}
}
Variables
{
"deleteAppointmentId": 9
}
Request
None
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"data": {
"deleteAppointment": {
"message": "Appointment deleted successfully",
"status": "success"
}
}
}
Last modified: 2 months ago