Get roles related to a role
{
"roleInput": {
"role_name": "doctor"
}
}
Request Code Samples
curl --location --request POST 'http://localhost:3000/graphql' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImRldjEiLCJ1c2VySWQiOjQsInVzZXJfYXNzaWdubWVudCI6ImFkbWluIiwiaWF0IjoxNzI3MzYxMDk0LCJleHAiOjE3MjczNjQ2OTR9.Zckr61S0kHq7ZogL6aI7FTeF45rSMqZM74YQ1_MAqoA'
Responses
application/json {
"data": {
"findAllPermissionForRoles": {
"appointment_permission": [
"update",
"delete",
"read"
],
"feedback_permission": [
"read",
"update"
],
"roles_name": "doctor",
"support_tickets_permissions": [
"read"
]
}
}
}
Modified at 2024-09-26 06:18:09