The tenant
API uses the GET method to obtain the list of tenants from the Presentation Server. The permissions granted for the administrator who makes the request determines which tenants appear in the JSON response. For example, an administrator for the Acme account could not see the tenants in the Calbro account.
API | Description |
---|---|
login | Obtains the authToken required to perform all other operations |
configdata | Retrieves configuration data of monitor instances |
perfdata | Retrieves performance data of monitor instances |
API | Description |
---|---|
devices | Retrieves a list of monitored devices |
instances | Retrieves a list of monitored instances |
monitortypes | Retrieves a list of monitor types |
tenants | Retrieves a list of tenants |
You must have used the login
API to obtain the authToken, which authenticates the user performing the operation. For details, see TSWS authentication.
GET https://<PresentationServerHostName>/tsws/10.0/api/omprovider/tenants
Element | Description |
---|---|
authToken | Value of the authToken generated through the login API |
The tenant API request returns the following tenant information in the JSON response:
Object | Description |
---|---|
tenantList | List of tenants that the authorized user can access |
tenantId | Tenant name |