Please read this page before using this guide
Create new user with an HTTP POST
request.
Resource URL:
https://<instance_name>.fuseuniversal.com/api/v4.
...
4/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
.
Mandatory parameters as well as all the optional parameters are described in the User profile fields guide.
Editing the Settings section Default Locale and changing the language code for any required language, sets the default language of the newly created user. (Example can be seen in Request #2).
Info |
---|
Use the request examples on this page as a reference. |
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.
Note |
---|
The Fuse user ID is the UID automatically generated by the system when a user is created. This cannot be changed. All other user attributes can be changed. |
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/v4.
...
4/manage/users?auth_token=<valid_auth_token>
Request body
Code Block | ||
---|---|---|
| ||
{ "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/v4.
...
4/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". |
Code Block | ||
---|---|---|
| ||
{
"users": [
{
"username": " |
...
{{username}}", "password_confirmation": "Password1234!", "password": "Password1234!", " |
...
email": " |
...
{{email}}", "accessibility_theme": "theme_v1", "manager_ids": |
...
"{{fuseid of manager}}", "profile": { "First Name": " |
...
{{first Name}}", "Last Name": " |
...
{{last Name}}", " |
...
Department": " |
...
{{department}}", " |
...
Postition": |
...
{{position}}, " |
...
Manager |
...
Name": |
...
{{manager Name}}, "Functional Role": " |
...
{{Role}}", " |
...
Employee |
...
ID": |
...
{{ID}}, "Start Date": " |
...
{{YYYY- |
...
MM- |
...
DD}}", "Tenure": |
...
{{Tenure}}, " |
...
Is |
...
Manager?": |
...
{{Yes}} }, |
...
|
...
"settings": { |
...
" |
...
default_locale": |
...
"en-UK", " |
...
time_ |
...
zone": " |
...
(GMT+00:00) London" } } ] } |