Auth

Adds a role to a user

Required role: ADMIN

put/auth/roles/{id}/{role}/

Request

  • Base URL: https://adonix.hackillinois.org
  • URL: https://adonix.hackillinois.org/auth/roles/{id}/{role}/
  • Auth: none declared

Path parameters

idstring required

Id of a specific user. Can start with github or google.

Example:github1234
role'ADMIN' | 'STAFF' | 'MENTOR' | 'APPLICANT' | 'ATTENDEE' | 'USER' | 'SPONSOR' | 'BLOBSTORE' | 'PRO' required
Example:USER

Response

The updated roles

idstring required

Id of a specific user. Can start with github or google.

rolesRole[] required

Example response

{
  "id": "github1234",
  "roles": [
    "USER"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.