Register
POST
/auth/registerUsed to register a user in the platform
Request
Body Params application/json
email
string <email>
email
The email address of the user
Example:
johndoe@example.com
username
string
username
The username of the user
Examples:
johndoepeterpanjohn_doe
Match pattern:
^[a-zA-Z0-9_.#]{1,20}$
name
string
name
The fullname of the user
>= 4 characters<= 30 characters
Examples:
John DoePeter Pan
password
string <password>
password
The password of the user
Examples:
John@D123JohnDoe@123
Match pattern:
/^(?=.*[A-Z])(?=.*[a-z])(?=.*\d)(?=.*[!@#$%^&*(),.?":{}|<>])[A-Za-z\d!@#$%^&*(),.?":{}|<>]{8,}$/gm
Example
{
"email": "johndoe@example.com",
"username": "johndoe",
"name": "John Doe",
"password": "John@D123"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: a month ago