Help Center
Choose product document...
Veeam Backup & Replication 9.5
RESTful API Reference

Tenant Logon Session

Service providers can allow tenants to log on to Veeam Backup Enterprise Manager RESTful API and perform operations with resources available to a specific tenant. To create a new logon session for the tenant, you need to provide tenant credentials in the body of the POST HTTP request to the URL of the /sessionMngr/ resource. Credentials for the tenant account must be provided in the TenantCredentials element.

To learn more about creating a new logon session, see Perform Logon.

The request body must contain the following elements:





Min/Max Occurrence



User name of the tenant account.





Password for the tenant account.



For example:

<?xml version="1.0" encoding="utf-8"?>
<LoginSpec xmlns="" xmlns:xsd="" xmlns:xsi="">
   <Username>ABC Company</Username>

In the response, Veeam Backup Enterprise Manager will return a representation of the /sessionMngr/ resource with a link to the Cloud Connect service resource. For example:

<LogonSession xmlns="" Type="LogonSession" Href="http://localhost:9399/api/logonSessions/362da803-804d-4c32-ad35-0972e432460b">
   <Link Rel="Up" Type="EnterpriseManager" Href="http://localhost:9399/api/" />
   <Link Rel="Down" Type="CloudConnectService" Href="http://localhost:9399/api/cloud" />
   <Link Rel="Delete" Type="LogonSession" Href="http://localhost:9399/api/logonSessions/362da803-804d-4c32-ad35-0972e432460b" />

In the Cloud Connect service resource representation, Veeam Backup Enterprise Manager will return a list of resources with which the specified tenant can work using Veeam Backup Enterprise Manager RESTful API. For example:

<CloudConnectService xmlns="" Type="CloudConnectService" Href="http://localhost:9399/api/cloud">
   <Link Rel="Up" Type="LogonSession" Href="http://localhost:9399/api/logonSessions/362da803-804d-4c32-ad35-0972e432460b" />
   <Link Rel="Down" Type="CloudFailoverPlanReferenceList" Href="http://localhost:9399/api/cloud/cloudFailoverPlans" />
   <Link Rel="Down" Type="CloudVmReplicaPointReferenceList" Href="http://localhost:9399/api/cloud/vmReplicaPoints" />
   <Link Rel="Down" Type="CloudReplicaReferenceList" Href="http://localhost:9399/api/cloud/replicas" />
   <Link Rel="Down" Type="CloudFailoverPlanList" Href="http://localhost:9399/api/cloud/cloudFailoverPlans?format=Entity" />
   <Link Rel="Down" Type="CloudVmReplicaPointList" Href="http://localhost:9399/api/cloud/vmReplicaPoints?format=Entity" />
   <Link Rel="Down" Type="CloudReplicaList" Href="http://localhost:9399/api/cloud/replicas?format=Entity" />

With Veeam Backup Enterprise Manager RESTful API, a tenant can perform the following operations:

A tenant cannot edit a cloud failover plan via Veeam Backup Enterprise Manager RESTful API.

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation