Users
Users endpoints allow managing user accounts, permissions, and search operations.
View role definitions to understand the permission levels.
Endpoints
| Endpoint | Description | Organisation admin | Course admin | Student | Guest |
|---|---|---|---|---|---|
| GET /api/users/ | Returns user details for the specified email address. Only organisation admin is allowed. View endpoint | ⬤ | ✕ | ✕ | ✕ |
| GET /api/users/search | Searches 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 endpoint | Returns user details for the specified user ID. Only organisation admins can access. | ⬤ | ✕ | ✕ | ✕ |
| POST /api/users/admin/{userId} View endpoint | Updates 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 endpoint | Returns 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 endpoint | Adds or removes group permissions for the specified user. Only organisation admins can update permissions. | ⬤ | ✕ | ✕ | ✕ |
| GET /api/users/{userId}/{token}/calendar.ical | Returns the calendar for the specified user in iCal (.ics) format. Requires a valid calendar token, regardless of user type. View endpoint | ◖ | ◖ | ◖ | ◖ |
Key
| Symbol | Permissions |
|---|---|
| ⬤ | Full access |
| ◖ | Access limited to resources specified for this user |
| ✕ | No access |