PUT role/{roleId}/member/{accountId}

Related

Assign a user to the given role.

Example

PUT /api/v1/role/student/member/ac408889-be82-48b1-8622-abda2ab9b717 HTTP/1.1
Authorization: Bearer ...
----------------------------------------
HTTP/1.1 204 No Content

Security

Authentication is required and access is limited to admins.

URL Parameters

NameDescriptionValue
roleIdthe identifier of the rolestring
accountIdthe user's ID as a GUID with dashesstring

Query Parameters

NONE

Request Body

NONE

Response

Successful responses are code 204. Error responses are standard.

Response Body

NONE