Create a local identity

Create a local identity. By default, a local identity doesn't have a password and therefore cannot log in to Horizon. To set a password, call the set password endpoint after creating the local identity.

Body required
application/json
identifier
string required

The identifier of the local identity (used by the identity to log in to the web UI)

email
string | null

The email address of the local identity

name
string | null

The display name of the local identity

password
string

The initial password for this local identity

Responses
  • 201 Local identity successfully registered
    _id
    string required

    Internal ID

    identifier
    string required

    The identifier of the local identity (used by the identity to log in to the web UI)

    email
    string | null

    The email address of the local identity

    name
    string | null

    The display name of the local identity

  • 400 Unable to register the local identity
  • 401 Authentication error
  • 403 Forbidden action
  • 500 Unexpected internal server error