Add User


    # Here is a curl example
    curl \
    -X POST "http://localhost:8888/api/UsersAndGroups/AddUser" \
    -H "Authorization: {token}" \
    -H "Content-Type: application/json" \
    -d '{
        "first_name": "test",
        "last_name": "test",
        "user_name": "test",
        "salutation": "test",
        "telephone": "test",
        "telephone_ext": "test",
        "mobile": "test",
        "email": "test",
        "position": "test",
        "department": "test",
        "password_never_expires": false,
        "cannot_change_password": false,
        "must_change_password": false,
    }'

This method allows you to add users.

To get add a user, you need to make a POST call to the following url: :
http://localhost:8888/api/UsersAndGroups/AddUser



    Result example :
    [
        {
            "Success": "boolean",
            "Message": "string",
            "Data": object,
            "CustomAction": Dictionary<object, object> ,
            "CustomAttributes":Dictionary<object, object>
        }
    ]

From Body Parameters

Field Parameter Type Type Description
first_name body string First Name
last_name body string Last Name
user_name body string User Name
salutation body string Salutation
telephone body string Telephone
telephone_ext body string Telephone ext
mobile body string Mobile
email body string Email
position body string Position
department body string Department
password_never_expires body boolean Password never expires
cannot_change_password body boolean User cannot change password
must_change_password body boolean User must change password
Authorization header string Add Authorization header token