DeepFellow API ReferenceAdministration
Create a new user
POST
Create a new user.
header
AuthorizationBearer <token>application/json- body
name*stringUser name.
email*stringUser email.
password*stringUser password.
is_admin*booleanBoolean indicating whether the user is admin.
default_organization_id?|nullSuccessful Response
application/json- response
id*stringA 24-character hexadecimal MongoDB ObjectId string.
Match
^[0-9a-fA-F]{24}$email*stringUser email.
is_admin*booleanBoolean indicating whether the user is admin.
status*stringValue in
"active""blocked"default_organization_id*|nullcreated_at*integerThe Unix timestamp (in seconds) for when the user was created.
Example Request
curl -X POST 'https://deepfellow-server-host/admin/user/' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "email": "string", "password": "string", "is_admin": true}'Example Response
{ "id": "5eb7cf5a86d9755df3a6c593", "email": "string", "is_admin": true, "status": "active", "default_organization_id": "5eb7cf5a86d9755df3a6c593", "created_at": 0}We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.