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.
Before you begin
You must have used the
login API to obtain the authToken, which authenticates the user performing the operation. For details, see TSWS authentication.
|authToken||Value of the authToken generated through the login API|
Sample request with REST client
- Enter the URL for the tenant list API. The generic format is:
- Add a new header.
- Select Authorization as the header type.
- Enter the text authToken followed by the authToken generated through the login API. See TSWS authentication.
- Click Send.
JSON response content
The tenant API request returns the following tenant information in the JSON response:
|tenantList||List of tenants that the authorized user can access|