Create a user Deprecated
Create a new email/password user account.
Note: You cannot create user accounts through the Admin API for any authentication provider other than email/password.
Path parameters
-
An Atlas Project/Group ID.
-
The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.
POST /groups/{groupId}/apps/{appId}/users
curl \ --request POST 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/users' \ --header "Authorization: Bearer $ACCESS_TOKEN" \ --header "Content-Type: application/json" \ --data '{"email":"string","password":"string"}'
Request examples
{ "email": "string", "password": "string" }
Response examples (201)
{ "_id": "string", "identities": [ { "id": "string", "provider_type": "anon-user", "provider_id": "string" } ], "type": "normal", "creation_date": 42, "last_authentication_date": 42, "disabled": true, "data": {} }