user

Creates a new user with an initial password.

Example Request

POST http://example.com:8080/livecluster/rest/user/user

Example Input

Parameters

Parameter Name

Data Type

Description

Sample Value

password

String

The initial password for user.

admin1

JSON

User data that needs to be created.

{
    "username": "admin1",
    "firstName": "admin1",
    "lastName": "admin1",
    "email": "admin1@domain.com",
    "roles": "Configure"
}

Example Response

204 no content changes to 201 created.

Result: The user admin1 is created successfully, returning a 201 Created status instead of 204 No Content.