Delete Doctor details
POST
http://localhost:3000/graphqlMutation
mutation DeleteDoctorById($deleteDoctorByIdId: Float!) {
deleteDoctorById(id: $deleteDoctorByIdId) {
message
status
}
}
variables
{
"deleteDoctorByIdId": 2
}
Request
None
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"data": {
"deleteDoctorById": {
"message": "Doctor deleted successfully",
"status": "success"
}
}
}
Last modified: 2 months ago