Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Please read this page before using this guide

Create new user with an HTTP POST request.

...

https://<instance_name>.fuseuniversal.com/api/v4v5.40/manage/users

Request

Request header parameters

Authorisation is required.

Request parameters

The mandatory parameters required to create a new user are: username, password and password_confirmation.

...

Note

The request examples do not include all possible parameters.

Response

The response for this API endpoint contains the user registration that was created. Security-sensitive fields may not be returned in the response.

...

Info

Refer to the Response codes guide for more information.

Example request #1

Create a single user with only mandatory parameters.

Request URL example

https://<instance_name>.fuseuniversal.com/api/v4v5.40/manage/users?auth_token=<valid_auth_token>

Request body

Code Block
languagejson
{
    "users": [
        {
            "username": "testuser",
            "email": "example@email.com",
            "password": "Password1234!",
            "password_confirmation": "Password1234!",
            "accessibility_theme": "theme_v1"
        }
    ]
}

...

Example request #2

A detailed user creation.

Request URL example

https://<instance_name>.fuseuniversal.com/api/v4v5.40/manage/users?auth_token=<valid_auth_token>

Request body

Info

When creating a user, you have the option of setting the default_locale. For example: "default_locale": "en-UK".
If you do not wish to set the default_locale for a user, leave this parameter empty - do not enter "Null". Alternatively, you can remove default_locale entirely.

...