AccessControl
Managing user authentication and authorization workflows, ensuring secure access to the platform.
Create a new user account
Body
first_namestringOptionalExample:
Leolast_namestringOptionalExample:
JourdainusernamestringRequiredExample:
LeoJrpasswordstringRequiredExample:
astrongpasswrdemailstringRequiredExample:
leo.jourdain@etu-upsaclay.frphone_numberstringOptionalExample:
+33XXXXXXXXXXResponses
200
Successful operation
400
Invalid information supplied
post
/access/api/signupRetrieve user informations. If no query parameters are provided, all the users are returned. Administrator rights are required.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
limitstringOptionalExample:
Response is paginated
?limit=5usernamestringOptionalExample:
username
LeooojrrolestringOptionalExample:
the role sought
VALIDATORHeader parameters
AuthorizationstringRequiredExample:
authorization
Bearer mytokenResponses
200
successful operation
Responseone of
400
Invalid status value
401
Unauthorized
get
/access/api/userUpdate user information. Administrator rights are required.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
usernamestringRequiredExample:
user to update
leojrHeader parameters
AuthorizationstringRequiredExample:
authorization
Bearer mytokenBody
rolestring · enumRequiredExample:
ANNOTATORPossible values: Responses
200
successful operation
400
Invalid tag value
put
/access/api/user/{username}Last updated