Delete timings
POST
http://localhost:3000/graphqlMutation
mutation DeleteSingleTiming($doctorId: Float!, $day: String!) {
deleteSingleTiming(doctor_id: $doctorId, day: $day) {
message
status
}
}
Variables
{
"doctorId": 4,
"day": "monday"
}
Request
None
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"data": {
"deleteSingleTiming": {
"message": "Timing deleted successfully",
"status": "success"
}
}
}
Last modified: 2 months ago