NSX-T Data Center REST API
Activate a user account with a password
Activates the account for this user. When an account is successfullyactivated, 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
/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+