Register a new operator
Changed onCreates the Keycloak account with a generated password and the operator role, enabled and with the email taken as verified, then the users and operators rows; the operator starts in onboarding and must change the password at first login. The password goes only to the PEC, with the blank contract: contract_pec_sent / contract_pec_error say how that went, and registration stands either way. 400 when the email is not on the company domain or the PEC is not an address; 409 when the email is already an account or its company mailbox already exists. POST /operators converts an existing user instead.
Request
- Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
- URL: https://api.corabea.it/api/operators/register
- Auth: HTTP bearer
Request body
Response
Successful Response
Changes
- breaking
the request property
became required - breaking
request property
list-of-types was narrowed by removing typesnullfrom media typeapplication/json - breaking
the
request property's minLength was increased from0to3 - warning
removed the request property
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info