Create an account with email and password.
Parameters
email: str
formatemail
minLength1
password: str
minLength8
maxLength128
password_confirm: str
minLength8
maxLength128
Returns
Register
from overmind_lab import OvermindLab
client = OvermindLab()
response = client.auth.register(
email="dev@stainless.com",
password="xxxxxxxx",
password_confirm="xxxxxxxx",
)
print(response.access){
"access": "access",
"refresh": "refresh",
"user": {
"id": 0,
"email": "dev@stainless.com",
"email_verified": true
}
}Returns Examples
{
"access": "access",
"refresh": "refresh",
"user": {
"id": 0,
"email": "dev@stainless.com",
"email_verified": true
}
}