Permissions for roles
POST
http://localhost:3000/graphqlQuery
query Query($rolePermissionInput: RolePermissionVerificationInput!) {
checkWhetherPermissionExists(rolePermissionInput: $rolePermissionInput)
}
Variables
{
"rolePermissionInput": {
"category": "appointment_permission",
"permission": "create",
"role_name": "doctor"
}
}
Request
None
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"data": {
"checkWhetherPermissionExists": false
}
}
Last modified: 2 months ago