System Administration >
Configuration
>
Fabric
>
Nodes
>
User Management
>
Users
Reset a user's own password. Requires current password
Enables a user to reset their own password.
Request:
Method:
POST
URI Path(s):
/api/v1/node/users?action=reset_own_password
/api/v1/cluster/<cluster-node-id>/node/users?action=reset_own_password
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ResetNodeUserOwnPasswordProperties
+
ResetNodeUserOwnPasswordProperties
(
schema
)
Name
Description
Type
Notes
old_password
The old password of the user
If the old_password is not given, a 400 BAD REQUEST is returned with an error message.
string
Required
password
The new password for user
string
Required
Example Request:
POST https://<nsx-mgr>/api/v1/node/users?action=reset_own_password { "password": "Str0ng_Pwd!Wins$" }
Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a
Required Permissions:
none
Feature:
system_administration_passwd_mgmt
Additional Errors:
404 Not Found
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable