Create User

The "Create User" endpoints allows for creation of a Xerial user in the xerial database in order to be able to create a wallet.

Overview

Endpoint

Body

Optional

{
   "reference": "xerial@example.io"
}
  • Field: Authorization

  • Value: Bearer + (Access token)

Responses

Success (Code 200)

  • Media Type: application/json

  • Example Value: An object containing the all information about the user.

Usage

  1. Send a POST request to the /user endpoint to create a new user.

  2. Handle the response accordingly based on success, unauthorized access or internal server error.

Note: Ensure the user is authenticated before making the request.

Last updated