### Reset database POST http://localhost:5000/reset Content-Type: application/json { "password": "123" } ### Create a new organization POST http://localhost:5000/org/create Content-Type: application/json { "name": "org", "username": "username", "full_name": "Full Name", "email": "user@mail.com", "public_key": "null" } ### Login POST http://localhost:5000/user/login Content-Type: application/json { "username": "username", "org": "org", "public_key": "null" } > {% client.global.set("token", response.body["token"]) %} ### List organizations GET http://localhost:5000/org/list ### Create a new user POST http://localhost:5000/user/create Content-Type: application/json Authorization: {{token}} { "username": "newuser", "full_name": "Full Name", "email": "newuser@mail.com", "public_key": "null2" } ### List users GET http://localhost:5000/user/list Content-Type: application/json Authorization: {{token}} {} ### Suspend user POST http://localhost:5000/user/suspend Content-Type: application/json Authorization: {{token}} { "username": "newuser" } ### Activate user POST http://localhost:5000/user/activate Content-Type: application/json Authorization: {{token}} { "username": "newuser" } ### Logout POST http://localhost:5000/user/logout Content-Type: application/json Authorization: {{token}}