NVIDIA UFM Enterprise REST API Guide v6.14.0
v6.14.0

SMTP Configuration REST API

  • Description – manages SMTP configurations in UFM

  • Request URL – /ufmRest/app/smtp

  • Main operations

    • Get SMTP configuration

    • Update SMTP configuration

  • Description – get information on SMTP configuration settings in UFM

  • Request URL – GET /ufmRest/app/smtp

  • Request Content Type – application/json

  • Response

    Copy
    Copied!
                

    { "sender":"AnasBadaha <ufmvpi@gmail.com>", "server":"smtp.gmail.com", "pwd":"123456ufmvpi", "user":"ufmvpi", "use_ssl":true, "use_authentication":true, "port":465 }

  • Status Codes

    • 200 – OK

  • Description – update the settings of the current SMTP configuration in UFM

  • Request URL – PUT /ufmRest/app/smtp

  • Request Content Type – application/json

  • Request Data

    Copy
    Copied!
                

    { "sender_name":"AnasBadaha", "sender_addr":"ufmvpi@gmail.com", "server":"smtp.gmail.com", "pwd":"123456ufmvpi", "user":"ufmvpi", "use_ssl":true, "port":465, "use_authentication":true }

  • Status Codes

    • 200 – OK

    • 400 – BAD REQUEST

© Copyright 2023, NVIDIA. Last updated on Sep 8, 2023.