GitLab wurde aktualisiert. Dank regelmäßiger Updates bleibt das THM GitLab sicher und Sie profitieren von den neuesten Funktionen. Vielen Dank für Ihre Geduld.

Verified Commit f1992038 authored by Jonas-Ian Kuche's avatar Jonas-Ian Kuche
Browse files

Fix setUserRole parameters


Signed-off-by: Jonas-Ian Kuche's avatarJonas-Ian Kuche <jonas-ian.kuche@mni.thm.de>
parent ce627401
......@@ -1250,7 +1250,7 @@ paths:
$ref: '#/components/responses/ForbidenError'
'404':
$ref: '#/components/responses/NotFoundError'
/api/courses/{courseID}/users/{userID}:
/api/courses/{courseID}/users/{username}:
put:
operationId: setUserRole
summary: Sets the role of the user (also adds the user to the course if he is currently not)
......@@ -1258,7 +1258,11 @@ paths:
- course
parameters:
- $ref: '#/components/parameters/CourseID'
- $ref: '#/components/parameters/UserID'
- name: username
in: path
required: true
schema:
type: string
security:
- userBearer: []
responses:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment