In addition to the Mitto API, Mitto users also have access to the Auth API, which among other things, enables the ability to list, create, update, and delete users in the Mitto UI.
Endpoints and Methods
Mitto has Swagger documentation at https://{mitto_url}/auth/docs
. You can see all the Auth API endpoints and test them using the Swagger UI.

Auth API Usage
For more information about API usage and authorization please visit the Mitto API help page.
Steps to Create A Mitto User
- Browse to
https://{mitto_url}/auth/docs#/default/create_user_users_post
- Expand POST
/api/users
Create User endpoint - Edit the input parameters so that the strings represent the appropriate user data
Execute
the Create User command- Optional but usually necessary, create the user inside of Mitto's PostgreSQL database (see link below). A simple command to create a PostGreSQL Super User:
CREATE USER "newuser" WITH PASSWORD 'password' SUPERUSER CREATEDB;
NOTE: A database user is not created. Please consult PostgreSQL documentation on creating new users.
Steps to Delete a Mitto User
- Browse to
https://{mitto_url}/auth/docs#/default/create_user_users_post
- Expand and Execute GET
/api/users
endpoint to list the users - Retrieve the ID for the user you wish to delete
- Scroll down to the DELETE
/api/users/{user_id}
endpoint - Enter the ID for the desired user into the user_id field
Execute
the DELETE/api/users/{user_id}
- Optional but usually necessary, remove the user from Mitto's PostgreSQL
Steps to List existing Mitto Users
- Browse to
https://{mitto_url}/auth/docs#/default/list_users_users_get
Execute
the List Users command- The output will contain information for all existing users.