Auth

Register a new user

Creates a new user account in the Endatix application using the provided email and password.

post/api/auth/register

Request body

emailstring email required

The email address of the user.

passwordstring

The password chosen by the user.

confirmPasswordstring required

The confirmation of the password chosen by the user.

Example request

{
  "email": "user@example.com",
  "password": "Password123!",
  "confirmPassword": "Password123!"
}

Response

User has been successfully registered.

successboolean

Indicates whether the registration was successful.

messagestring

A message describing the outcome of the registration attempt.

Changes

Changed in 2 of the 7 revisions of this API.1815

  • 50eff5014b78138See the full diff
    • media type application/problem+json was changed to a more general media type application/json for the response status 400

      response-media-type-name-generalized

    • removed the optional property errors from the response with the 400 status

      response-optional-property-removed

    • removed the optional property message from the response with the 400 status

      response-optional-property-removed

    • removed the optional property statusCode from the response with the 400 status

      response-optional-property-removed

    • the endpoint scheme security JWTBearerAuth was removed from the API

      api-security-removed

    • removed the non-success response with the status 401

      response-non-success-status-removed

    • removed the non-success response with the status 403

      response-non-success-status-removed

    • added the optional property detail to the response with the 400 status

      response-optional-property-added

    • added the optional property instance to the response with the 400 status

      response-optional-property-added

    • added the optional property status to the response with the 400 status

      response-optional-property-added

    • added the optional property title to the response with the 400 status

      response-optional-property-added

    • added the optional property type to the response with the 400 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • fbc3fe6ecbf157See the full diff
    • removed the optional property detail from the response with the 400 status

      response-optional-property-removed

    • removed the optional property instance from the response with the 400 status

      response-optional-property-removed

    • removed the optional property status from the response with the 400 status

      response-optional-property-removed

    • removed the optional property title from the response with the 400 status

      response-optional-property-removed

    • removed the optional property type from the response with the 400 status

      response-optional-property-removed

    • the endpoint scheme security JWTBearerAuth was added to the API

      api-security-added

    • media type application/json was changed to a more specific media type application/problem+json for the response status 400

      response-media-type-name-specialized

    • added the non-success response with the status 401

      response-non-success-status-added

    • added the non-success response with the status 403

      response-non-success-status-added

    • added the optional property errors to the response with the 400 status

      response-optional-property-added

    • added the optional property message to the response with the 400 status

      response-optional-property-added

    • added the optional property statusCode to the response with the 400 status

      response-optional-property-added

    This revision also has 62 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog