Passer au contenu principal
POST
https://{yourDomain}
/
dbconnections
/
signup
Sign Up User
curl --request POST \
  --url https://{yourDomain}/dbconnections/signup \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_id": "YOUR_CLIENT_ID",
  "email": "newuser@example.com",
  "password": "SecurePassword123!",
  "connection": "Username-Password-Authentication",
  "given_name": "John",
  "family_name": "Doe",
  "user_metadata": {
    "plan": "premium"
  }
}
'
{
  "_id": "507f1f77bcf86cd799439011",
  "email": "newuser@example.com",
  "email_verified": false
}

Documentation Index

Fetch the complete documentation index at: https://auth0-feat-ionic-capacitor-quickstart-modernization.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Autorisations

Authorization
string
header
requis

The access token received from the authorization server in the OAuth 2.0 flow.

Corps

application/json
client_id
string
requis

Your application's Client ID

email
string<email>
requis

The user's email address

password
string
requis

The user's desired password. Must meet the connection's password strength requirements.

connection
string
requis

The name of the database connection (e.g., 'Username-Password-Authentication')

username
string

The user's desired username (if the connection requires usernames)

given_name
string

The user's given (first) name

family_name
string

The user's family (last) name

name
string

The user's full name

nickname
string

The user's nickname

picture
string<uri>

URL of the user's profile picture

user_metadata
object

Custom user metadata (key-value pairs)

Réponse

User created successfully

_id
string

The user's unique identifier

email
string

The user's email address

email_verified
boolean

Whether the email has been verified