Close Menu
DPC Virtual Tips
    Read More

    How to Troubleshoot Packet Drops on an ESXi Host

    August 16, 2026

    SlurmDBD Is Down: What Continues Working and What Does Not

    August 15, 2026

    How to Investigate Jobs Stuck in COMPLETING State on Slurm

    August 14, 2026
    • Home
    • About Us
    • Contact
    • Cookie Policy
    • Comment Policy
    • Privacy Policy
    • Terms of Use
    • Disclaimer
    Tuesday, August 25
    DPC Virtual Tips
    • Home
    • Operating Systems
    • PowerFlex
    • HPC
    • Virtualization
    • About the Author
    • About Us
    • Contact
    DPC Virtual Tips
    Home » Changing the NSX Manager user password through the API
    Virtualization

    Changing the NSX Manager user password through the API

    DaniloBy DaniloNovember 23, 2023Updated:July 30, 2026No Comments2 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    NSX Manager API password change
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Changing the NSX Manager user password through the API is an article that explains how to reset user passwords by using the NSX Manager API. In this guide, we will use the Postman application to send API requests and interact with the NSX Manager services.

    First and foremost, we will use the Postman application to interact with the NSX Manager API. You can download the application by accessing the below link:

    • https://www.postman.com/downloads/

    But, of course, you can use your preferred API tool 🙂

    Accessing the NSX API Documentation

    After accessing the NSX Manager GUI, you can access the API documentation, as we can see in the below picture:

    This is a complete API guide and I highly recommend you check it before anything:

    Listing the NSX Manager Users

    So, to change the password of a specific user, we need to know what is the user id:

    1- Open the Postman application and configure it as shown in the below picture.

    Method: GET
    URL: https://nsxm.lab.local/api/v1/node/users (in this case, our NSX Manager FQDN is nsxm.lab.local. Change it to your FQDN or IP address)

    Under the Authorization tab, we need to specify the admin username. Without this authorization, the Postman will not be able to connect to the NSX Manager API:

    This image has an empty alt attribute; its file name is image-154.png

    As we can see in the above picture, the userid of the audit user is 10002.

    Changing the audit User Password from the API

    In this example, we are changing the audit user password:

    Method: POST
    URL: https://nsxm.lab.local/api/v1/node/users/10002?action=reset_password
    Body: raw –> JSON

    {
      "password": "Str0ng_Pwd!Wins$"
    }

    Change the value “Str0ng_Pwd!Wins$” by your new password:

    The Status 200 OK shows that the API has been executed successfully by the Postman!
    After that, you can try to open the NSX Manager GUI and access it using the audit user with the new password.

    Changing the admin User Password from the API

    Another way to change the user password will be shown below:

    Method: POST
    URL: https://nsxm.lab.local/api/v1/node/users?action=reset_own_password
    Body: raw –> JSON

    {
        "password": "YOUR_NEW_PASSWORD",
        "old_password": "YOUR_CURRENT_PASSWORD"
    }

    After that, you can try to access the NSX Manager GUI with the admin user + the new password 🙂

    Wrapping This Up

    So, I am used to seeing the NSX Manager Alerts and detected a lot of alerts related to Password Management, as we can see in the below pictures:

    So, these alerts were the trigger to know about the user password expiration 🙂

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleChecking VMware Hardware Compatibility Error on Debian 11
    Next Article Accessing an RDP Server Pool Through the NSX ALB
    Danilo

    Infrastructure Engineer with experience in Virtualization, Linux, Windows Server and learning automation using Python. DPC Virtual Tips was created to share practical tutorials, lab experiences and troubleshooting guides focused on enterprise infrastructure technologies.

    Related Posts

    How to Troubleshoot Packet Drops on an ESXi Host

    August 16, 2026

    VM Replication with vSphere Replication and Site Recovery Manager

    June 16, 2025

    Changing DNS Settings on ESXi Hosts

    May 20, 2025

    Comments are closed.

    Search
    Categories
    • HPC (12)
    • Operating Systems (85)
    • PowerFlex (22)
    • Virtualization (130)
    Read More
    Virtualization

    How to Troubleshoot Packet Drops on an ESXi Host

    By DaniloAugust 16, 20260
    HPC

    SlurmDBD Is Down: What Continues Working and What Does Not

    By DaniloAugust 15, 20260
    HPC

    How to Investigate Jobs Stuck in COMPLETING State on Slurm

    By DaniloAugust 14, 20260
    Operating Systems

    Linux Server Has Free Memory but Is Swapping: Why?

    By DaniloAugust 13, 20260
    Operating Systems

    How to Determine Whether Packet Loss Is Local or Network Related on Linux

    By DaniloAugust 12, 20260
    Latest Posts

    How to Troubleshoot Packet Drops on an ESXi Host

    August 16, 2026

    SlurmDBD Is Down: What Continues Working and What Does Not

    August 15, 2026

    How to Investigate Jobs Stuck in COMPLETING State on Slurm

    August 14, 2026
    Images from Gallery
    hpc main commands
    linux commands
    install rock linux
    lustre fs
    shell scripting
    vSAN Trace Files
    Categories
    • HPC
    • Operating Systems
    • PowerFlex
    • Virtualization
    • Home
    • About Us
    • Contact
    • Cookie Policy
    • Comment Policy
    • Privacy Policy
    • Terms of Use
    • Disclaimer
    Copyright © 2026, DPC Virtual Tips. All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.

    We use cookies to ensure your best experience on our website. If you continue using our website, we'll assume you agree to our cookie policy