Auto-generated API documentation you can find by the link.
NOTE: to grant superuser privileges to user change the
is_superuser
field value inUser
table for this user or update user info with already registered superuser via PATCH /users/{id} endpoint.
First of all you need to register new user.
After registration you need to verify user.
Verifying process includes request for token and user verification with this token.
-
Getting verification token:
-
Using the received token we verify the user:
-
With username and password you can log in and get token:
-
Or simple authorize with
Authorize
button on the docs page:
To log out just send request to /auth/logout
endpoint.