-
Notifications
You must be signed in to change notification settings - Fork 9
User Registration
TeusTan edited this page Jan 8, 2020
·
1 revision
To register a user you have to POST
to /users/register
with the following payload:
{'name': <str>, 'email': <str>, 'password': <str>, 'organization': <str>, 'is_admin': <bool>}
To retrieve a user info you have to GET
to /users/<userd-id>
and to update a user you use instead PATCH
to the same endpoint along with a payload including the data you want to update. Here is an example of the payload to update the password of a user:
{'password': <str>}