Skip to main content

Users

Users endpoints allow managing user accounts, permissions, and search operations.

View API definition

View role definitions to understand the permission levels.

Endpoints​

EndpointDescriptionOrganisation adminCourse adminStudentGuest
GET /api/users/Returns user details for the specified email address. Only organisation admin is allowed. View endpoint⬤✕✕✕
GET /api/users/searchSearches for users by name or email. Only organisation admin and course admins can search users. Returns a list of matching users. View endpoint⬤⬤✕✕
GET /api/users/admin/{userId} View endpointReturns user details for the specified user ID. Only organisation admins can access.⬤✕✕✕
POST /api/users/admin/{userId} View endpointUpdates user details for the specified user ID. Only organisation admins can update users. Returns the updated user details.⬤✕✕✕
GET /api/users/admin/{userId}/permissions View endpointReturns all group permissions for the specified user. Only organisation admins can access. Returns an empty list if userhas no group memberships.⬤✕✕✕
POST /api/users/admin/{userId}/permissions View endpointAdds or removes group permissions for the specified user. Only organisation admins can update permissions.⬤✕✕✕
GET /api/users/{userId}/{token}/calendar.icalReturns the calendar for the specified user in iCal (.ics) format. Requires a valid calendar token, regardless of user type. View endpoint◖◖◖◖

Key​

SymbolPermissions
⬤Full access
◖Access limited to resources specified for this user
✕No access