Canvas Career User Context
A CareerUserContext object looks like:
{
// Account permission checks for the authenticated user.
"permissions": null,
// Career experience summary including current app and available apps.
"experience": null,
// Distinct enrollment types for the user (active, invited, and pending).
"enrollment_types": null,
// Admin roles on the domain root account.
"admin_roles": null,
// Whether the user is a site admin.
"is_site_admin": null,
// Whether the user admins a subaccount under the domain root. When account_id
// is provided, true only if the user can admin that specific account.
"is_subaccount_admin": null,
// Whether the user is an admin on the domain root account or a site admin.
"is_root_account_admin": null,
// Whether the resolved account (account_id, or the domain root when omitted) is
// itself a root account rather than a sub-account.
"is_root_account": null
}Get career user context
GET /api/v1/career/user_context
Request Parameters:
Parameter
Type
Description
Example Request:
Example Response:
Last updated
Was this helpful?