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/<userid>), 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 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=reset_password
/api/v1/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: