I am using Veeam v8. My account is a Portal User.
I am working with our Dev team to leverage RESTful API.
From the Veeam Enterprise Manager Console running on the Veeam Backup Server, when I run http://localhost:9399/web/#/api/. Here is the response.
Code: Select all
Response: 200 success
<EnterpriseManager xmlns="http://www.veeam.com/ent/v1.0">
<Links>
<Link Rel="Down" Type="LogonSessionList" Href="http://localhost:9399/api/logonSessions" />
</Links>
<SupportedVersions>
<SupportedVersion Name="v1">
<Links>
<Link Rel="Create" Type="LogonSession" Href="http://localhost:9399/api/sessionMngr/?v=v1" />
</Links>
</SupportedVersion>
<SupportedVersion Name="v1_1">
<Links>
<Link Rel="Create" Type="LogonSession" Href="http://localhost:9399/api/sessionMngr/?v=v1_1" />
</Links>
</SupportedVersion>
</SupportedVersions>
</EnterpriseManager>
Code: Select all
Response: 401 error
<?xml version="1.0" encoding="utf-8"?>
<Error StatusCode="401" Message="Identity was not authenticated." xmlns="http://www.veeam.com/ent/v1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
I get the following:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<Error xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.veeam.com/ent/v1.0" Message="Identity was not authenticated." StatusCode="401"/>