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

Reset a user's password without requiring their current password

Unlike the PUT version of this call (PUT /node/users/), this API
does not require that the current password for the user be provided. The
account of the target user must be "ACTIVE" for the call to succeed.
This API only supports user ID 10002.

Request:

Method:
POST
URI Path(s):
/api/v1/node/users/<userid>?action=reset_password
/api/v1/transport-nodes/<transport-node-id>/node/users/<userid>?action=reset_password
/api/v1/cluster/<cluster-node-id>/node/users/<userid>?action=reset_password
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
NodeUserPasswordProperty+

Example Request:

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

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Required Permissions:

crud

Feature:

system_administration_passwd_mgmt

Additional Errors: