tenant-controller
Get Tenant Info (getTenantInfoById)
Fetch the Tenant Info object based on the provided Tenant Id. The Tenant Info object extends regular Tenant object and includes Tenant Profile name.
Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority.
get/api/tenant/info/{tenantId}
Request
- Base URLhttps://demo.thingsboard.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
tenantIdstring required
A string value representing the tenant id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
Response
OK
Example response
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"createdTime": 1609459200000,
"country": "US",
"state": "NY",
"city": "New York",
"phone": "+1(415)777-7777",
"email": "example@company.com",
"title": "Company A",
"region": "North America",
"tenantProfileId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT_PROFILE"
},
"tenantProfileName": "Default",
"name": "Company A",
"additionalInfo": {}
}Changes
No recorded changes to this operation across all 2 revisions of this API.