Create a new user

POST /Api/Users

Requires the following features to be enabled: Users

Query parameters

Body

  • email string(email) Required

    Minimum length is 1, maximum length is 255.

  • password string Required

    Minimum length is 1. Format should match the following pattern: ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d\w\W]{8,}$.

  • name string Required

    Minimum length is 1, maximum length is 255.

  • omCode string Required

    Minimum length is 1. Format should match the following pattern: ^\d{11}$.

Responses

curl \
 -X POST https://app.lovassy.hu/Api/Users \
 -H "Content-Type: application/json" \
 -d '{"email":"hello@example.com","password":"string","name":"string","omCode":"string"}'
curl \
 -X POST https://app.lovassy.hu/Api/Users \
 -H "Content-Type: text/json"
curl \
 -X POST https://app.lovassy.hu/Api/Users \
 -H "Content-Type: application/*+json"
Request examples
{
  "email": "hello@example.com",
  "password": "string",
  "name": "string",
  "omCode": "string"
}