Register New User
POST
/v1/users/register
const url = 'https://example.com/api/v1/users/register';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"example","name":"example","password":"example","token":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/users/register \ --header 'Content-Type: application/json' \ --data '{ "email": "example", "name": "example", "password": "example", "token": "example" }'Request Bodyrequired
Section titled “Request Bodyrequired”User Data
Media typeapplication/json
object
email
string
name
string
password
string
token
string
Examplegenerated
{ "email": "example", "name": "example", "password": "example", "token": "example"}Responses
Section titled “Responses”No Content
Local login is not enabled
Media typeapplication/json
string
Examplegenerated
example