I am new to the Veeam API and RestAPI in general.
I'm attempting to connect to my Veeam API using curl. I've tried
Code: Select all
curl -k -u firstname.lastname@example.org:<password> GET "https://<server>:9398/api/sessionMngr/?v=latest"
I've been looking at examples but so far I am unsure if I even have the user configured right. currently email@example.com is set up as a portal administrator. Does anyone know how to call the API using curl from a linux machine to get Session Tokens and login with that session to get info on jobs, etc...
My goal is to dump this data to flat files using a script and then build tables for a dashboard I currently have setup for our storage infrastructure.