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

Activate a user account with a password

Activates the account for this user. When an account is successfully
activated, the "status" field in the response is "ACTIVE".
This API is not supported for userid 0 and userid 10000.

Request:

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

Example Request:

POST https://<nsx-mgr>/api/v1/node/users/10004?action=activate { "password": "Str0ng_Pwd!Wins$" }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
NodeUserProperties+

Example Response:

{ "full_name": "Cloud Auditor", "last_password_change": 0, "password_change_frequency": 0, "status": "ACTIVE", "userid": 10004, "username": "cloud_audit" }

Required Permissions:

crud

Feature:

system_administration

Additional Errors: