Access Denial Service
API Contract
REST
/api/v1/access-denial
3 endpoints
GET
/api/v1/access-denial/api/v1/access-denial/blocked-roles
Get all roles blocked from mobile access
Public
Response Example
{
"data": [
{
"role": "STUDENT",
"label": "Student"
},
{
"role": "GUARDIAN",
"label": "Guardian"
},
{
"role": "PEER_MENTOR",
"label": "Peer Mentor"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 3
}
}
GET
/api/v1/access-denial/api/v1/access-denial/check
Check whether a given role is denied mobile access
Public
Response Example
{
"role": "STUDENT",
"is_mobile_access_denied": true
}
GET
/api/v1/access-denial/api/v1/access-denial/admin-portal-url
Get the admin portal redirect URL for an organization
Public
Response Example
{
"organization_id": "org-4821",
"admin_portal_url": "https://admin.example.no/orgs/org-4821"
}