System Administration > Configuration > Fabric > Nodes > User Management > Users

Create node users

Create new user account to log in to the NSX web-based user interface or access API.
username is required field in case of creating new user, further following
usernames - root, admin, audit are reserved and can not be used
to create new user account unless for local audit user.
In case of local audit account when username not specified in request by default
account will be created with audit username, although administrators
are allowed to use any other non-duplicate usernames during creation.

Request:

Method:
POST
URI Path(s):
/api/v1/cluster/{cluster-node-id}/node/users?action=create_user
/api/v1/cluster/{cluster-node-id}/node/users?action=create_audit_user
/api/v1/node/users?action=create_user
/api/v1/node/users?action=create_audit_user
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
NodeUserProperties+

Example Request:

POST https://<nsx-mgr>/api/v1/node/users?action=create_user { "full_name": "New user", "username": "newuser" }

Successful Response:

Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
NodeUserProperties+

Example Response:

{ "full_name": "New user" "userid": 10009, "username": "newuser", "status": "NOT_ACTIVATED", "password_change_frequency": 90, "password_change_warning": 7 }

Required Permissions:

crud

Feature:

system_administration

Additional Errors: