Auth
Gets the roles of the specified user
Required role: STAFF
Staff-only because this is used to get roles of another user. To get the roles of the currently authenticated user, use GET /auth/roles/ instead.
get/auth/roles/{id}/
Request
- Base URL: https://adonix.hackillinois.org
- URL: https://adonix.hackillinois.org/auth/roles/{id}/
- Auth: none declared
Path parameters
idstring required
Id of a specific user. Can start with github or google.
Example:github1234
Response
The roles
Example response
{
"id": "github1234",
"roles": [
"USER"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.