Skip to main content

authBody

email string

Required when username is not provided.

Example: john@doe.com
username string

Required when email is not provided.

Example: myuser
password string

User plain password. Required when pass_hash is not provided.

password_hash string

User hashed password from Database. Required when password is not provided.

AUTH_CODE string

Required when "Authentication Requires Auth Code" is enabled

Example: MY_SUPER_SECRET_AUTH_CODE
authBody
{
"email": "john@doe.com",
"username": "myuser",
"password": "string",
"password_hash": "string",
"AUTH_CODE": "MY_SUPER_SECRET_AUTH_CODE"
}