Examples of REST APIs Using Various Authentication Types

NVIDIA UFM Enterprise REST API Guide v6.14.1

Instructions:

  1. Log in and save the session in a cookie file by running the following command:

    Copy
    Copied!
                

    curl -k -f -X POST -c cookies.txt -d "httpd_username=<user>" -d "httpd_password=<password>" https://<ufm-ip>/dologin

  2. Access as much as ufmRestV2 requests you desire, suing the session saved above (for example):

    Copy
    Copied!
                

    curl -k --cookie cookies.txt https://<ufm-ip>/ufmRestV2/reources/systems

© Copyright 2023, NVIDIA. Last updated on Oct 24, 2023.