Create user

This is an API function to create a user. This API function corresponds to the operation on the screen that is displayed by clicking the [User] tab after selecting the [Security] on the operation screen of Manager.

= Remarks =

The response parameters of the following API functions are the same.

  • Create user
  • Modify user details
  • Acquire user details
  • Change a user password
Format

curl -X POST --header 'Content-Type: application/json'

--header 'Accept: application/json'

--header 'X-API-KEY:APIKEY'

-d 'REQUESTBODYINJSONFORMAT'

'http://HOSTNAME:PORTNUMBER/api/v1/user'

Request body (JSON format)

{

"userName": "string",

"userRoleId": "string",

"newPasswd": "string"

}

Request parameter (JSON format)
Item name Request parameter Type Value Default value
User Name userName String

Maximum 64 characters

Impossible to omit
Role ID userRoleId String Impossible to omit
Password newPasswd String

Maximum 64 characters

ASCII printable characters only

 
Response

{

"passwdCreated": true,

"userId": "string",

"userName": "string",

"userRoleId": "string"

"userRoleName": "string"

}

Response parameter

For details of the response parameters, see Response parameter described in Acquire user details.