Skip to content

Commit

Permalink
update users and docs for POST /users
Browse files Browse the repository at this point in the history
closes #291
  • Loading branch information
dwinston committed Aug 22, 2023
1 parent 0363d81 commit b4cd2f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 3 additions & 4 deletions docs/tutorials/auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Once authorized, hit `Close` to get back to the interactive API documentation:

!!! info
You need to be already logged in to create a new user.
Also, only users `dehays`, `dwinston`, and `scanon` can create new users at this time.
Also, only users `aclum`, `dwinston`, `scanon`, and `scholia` can create new users at this time.

Go to [POST /users](https://api.dev.microbiomedata.org/docs#/users/create_user_users_post), and
click the `Try it out` button. In the request body, the only required fields are `username` and
Expand All @@ -29,9 +29,8 @@ those as an array value for the `site_admin` field.

Share a new user's password securely with them. For example, a free instance of the open-source
[snappass](https://github.com/pinterest/snappass) web app is hosted by `dwinston` at
<https://snappass-polyneme.herokuapp.com/>. This will generate a one-time link that you can email to
the new user (you cannot send the link via Slack because Slack by default opens links in order to
display a preview of the page content).
<https://snappass.polyneme.xyz/>. This will generate a one-time link that you can email, send via
Slack message, etc. to the new user.

## Create a Site Client

Expand Down
2 changes: 0 additions & 2 deletions docs/tutorials/create-user.md

This file was deleted.

0 comments on commit b4cd2f7

Please sign in to comment.