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